route.c layer, not radix.c layer.
conflicting entries, where all key/mask/gw are the same.
then adjust. (why use %lu on printing? any particular reason?)
multiple interface addresses with the same prefix (10.0.0.1/24 and 10.0.0.2/24) works right. i bothered as it is mandatory with RADIX_MPATH environment, and netbsd-current is moving toward this direction. netbsd only. - on interface address addition, check if there's the same prefix already installed, and if so, don't install another one - on removal, check if there's other interface address which has the same prefix, and if so, move IFA_ROUTE to him
… filled. from jinmei
it to the issues (should fix in_ifinit following IPv6 counterpart)
- consider non-primary (2nd and beyond) IPv4 address as "local", and prevent outgoing ARP. - for routing entries generated by ARP, make sure to set rt->rt_ifa equal to rt_key, to help IPv4 source address selection for traffic to myself. NetBSD PR 13311. sync with netbsd-current
…3 -> 4.4 sockaddr transition. freebsd3 fixes it, but the code was never integrated to other *BSDs (ah, waste of human resources again...)
have used for last-resort default route: - last-resort default route is installed baesed on ifaddr *ifa - the ifaddr is removed - we try to remove last-resort default, but we can't
there's default route based on default router list.
rule for NS (which had already been disalbed by '#if 0')