> What should the right fix be ?
> I was wondering if
> "ifpaddr = TAILQ_FIRST(&ifp->if_addrhead)->ifa_addr"
> could be added within rt_ifannouncemsg() and rt_ifmsg() just before
> rt_msg1() ?
I have found the solution : rti_info[RTAX_IFP] (ie ifpaddr) should never be
filled with RTM_IFANNOUNCE b
Most of the userland program gets the informations about the interfaces via
the Kernel sysctl_iflist() function.
When a new interface is added, it is announced by the routing socket with a
RTM_IFANNOUNCE message. However the structure if_announcemsghdr does not
provide information about the inte