CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]    2021/03/17 08:30:09

Modified files:
        sys/net        : if_mpw.c if_mpip.c 

Log message:
Use correct rdomain when adding/deleting routes

mpip(4) always adds and deletes routes in rdomain 0 regardless of the
`tunneldomain', i.e. the `sc_rdomain' value.

mpw(4) adds routes with the specified rdomain but always deletes them
in rdomain 0.

mpe(4) consistently uses the softc's rdomain which is tracked
consistently across the various ioctls -- no fix needed.

Found while reading the code and testing ifconfig(8)'s "tunneldomain" in
order to document MPLS ioctls.

OK claudio

Reply via email to