CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2015/07/08 01:56:51
Modified files:
sys/net : route.h
sys/netinet : in.c
sys/netinet6 : nd6_rtr.c
Log message:
Use a new RTF_CONNECTED flag for interface (connected) routes.
Recent changes to support multiple interface routes broke the
assumption made by all our userland routing daemons concerning
interface routes. Historically such routes had a "gateway"
sockaddr of type AF_LINK. But to be able to support multiple
interface routes as any other multipath routes, they now have
a unique "gateway" sockaddr containing their corresponding IP
address.
This self-describing flag should avoid ambiguity when dealing
with interface routes.
Issue reported by <mxb AT alumni DOT chalmers DOT se> and benno@
ok claudio@, benno@