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: Mon, 22 Aug 2011 07:10:07 +0000
User-agent: Mozilla/5.0 (X11; Linux i686; rv:6.0) Gecko/20100101 Firefox/6.0

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

Hi Ivan,

i don't expect that the netcmp solution would lead to correct results, if we
are using overlapping networks on different netifs (-> Comment #2)

I would prefer this solution ( if (broadcast))

(
  (ip_addr_isany(&pcb->local_ip) || /* don't care IP*/
  (ip_addr_cmp(&(pcb->local_ip), &(inp->ip_addr)) /* IF Local IP == PCB 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]