lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [bug #45029] Several macros use ip6_2_ip() without supplyin


From: Ivan Delamer
Subject: [lwip-devel] [bug #45029] Several macros use ip6_2_ip() without supplying a storage address
Date: Tue, 05 May 2015 18:27:25 +0000
User-agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:37.0) Gecko/20100101 Firefox/37.0

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

Another option is to keep the like they were originally. Here is what I mean:

Inside the API code, the ip_addr_t will be cast to either ip4_addr_t or
ip6_addr_t. So far I don't see any check to the type field, there are just
checks for the PCB type.

Sometimes I use e.g. netif addresses for API calls. These are ip4 or ip6 type.
We'd need a temporary storage address in both cases. This will become a bit of
a pain, and unnecessary since the ip_addr_t will be cast back to ip4_ or
ip6_.



    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/




reply via email to

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