CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]    2014/03/12 06:03:55

Modified files:
        sys/net        : route.c rtsock.c 

Log message:
RTAX_IFP points to the "struct sockaddr_dl" corresponding to the
link-layer address of an interface.  This ugly structure is used
to export the interface's name and index, not only the link-layer
address as its name might suggest.

So instead reaching this descriptor by forcing and abusing the
position of the link-layer "struct ifaddr" in the per-interface
list, use the if_sadl pointer directly.

ok mikeb@, henning@

Reply via email to