Re: Simplify in_broadcast()

2014-11-25 Thread Mike Belopuhov
On 20 November 2014 at 15:24, Martin Pieuchot wrote: > Diff below make the function always iterate on all the interfaces. > > After that I'd like to change ifa_ifwithaddr() to only match unicast > addresses and use in_broadcast() in the few places where we also accept > broadcast addresses. > This

Simplify in_broadcast()

2014-11-20 Thread Martin Pieuchot
Diff below make the function always iterate on all the interfaces. After that I'd like to change ifa_ifwithaddr() to only match unicast addresses and use in_broadcast() in the few places where we also accept broadcast addresses. This would prevent people from matching a broadcast address when they