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)
Depends on:
Reported: 2021-09-12 11:54 UTC by mike
Modified: 2021-09-13 08:24 UTC (History)
4 users (show)

See Also:


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

default         UGS         6   1500       igb0
default             UGS        17   1500      tun10 

restores the behaviour as described in the man pages