CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2010/05/19 07:09:09
Modified files:
sys/net : route.c rtsock.c
Log message:
Require RTF_MPLS to be set when a mpls route is added or changed. To remove
only the MPLS bits from a route set rtm_fmask to RTF_MPLS. Additionally check
if the nexthop is modified and in that case always remove the MPLS info since
the path changed. This change makes life in userland a lot easier since the
routing daemons normaly don't know about MPLS and until now they destroyed
MPLS information when issuing RTM_CHANGEs.
OK michele@