lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] [bug #34072] UDP Broadcast is received from wrong UDP PCB i


From: Andreas Becker
Subject: [lwip-devel] [bug #34072] UDP Broadcast is received from wrong UDP PCB if udp_port matches
Date: Fri, 19 Aug 2011 15:56:30 +0000
User-agent: Mozilla/5.0 (X11; Linux i686; rv:6.0) Gecko/20100101 Firefox/6.0

Follow-up Comment #2, bug #34072 (project lwip):

Hi Ivan,

what do you think is the benefit in 
- Comparing ip_current_dest_addr with the hopefully correct Net to the PCB?
over
- Match the PCB IP with the IP from the interface, the packet arrives from.

Example with hierarchical routing

First  Netif 192.168.0.1 / 16  PCB IP: 192.168.0.1
Second Netif 192.168.1.1 / 24  PCB IP: 192.168.1.1

When something arrives from second Netif, dest IP is 192.168.1.255. 
Then you could get the same bad PCB match.

I think wie could expect that the user uses the same IP at the PCB and the
local IP.





    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?34072>

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.nongnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]