lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [bug #51593] Fix swapped src/dst params with ip4_route_src


From: Simon Goldschmidt
Subject: [lwip-devel] [bug #51593] Fix swapped src/dst params with ip4_route_src
Date: Thu, 27 Jul 2017 14:36:37 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36

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

Hmm, this API really sucks :-)

I think the reason for the different src/dst order is that IPv6 had source as
first and only later, source-based IPv4 routing was added. We should have made
IPv6 routing take dst first and src second.

On the other hand, ip_route() is probably more often used, so we might just
adopt the order in ip4_route_src?

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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