Bug 258447 - add! no longer works in PPP the way its described
Summary: add! no longer works in PPP the way its described
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 13.0-STABLE
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-09-12 11:54 UTC by mike
Modified: 2021-09-13 08:24 UTC (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mike 2021-09-12 11:54:10 UTC
With multipath enabled in RELENG_13 by default, I noticed that using my ppp scripts from previous releases no longer work as expected. In the past and according to the documentation, 

         If the add! command is used (note the trailing “!”), then if the
         route already exists, it will be updated as with the ‘route change’
         command (see route(8) for further details).

This instead adds an additional route to the FIB instead of overwriting the old one

eg
default            10.255.255.1       UGS         6   1500       igb0
default            10.1.0.1           UGS        17   1500      tun10 

setting 
net.route.multipath=0
restores the behaviour as described in the man pages