[Bug 258447] add! no longer works in PPP the way its described

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 12 Sep 2021 11:54:10 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=258447

            Bug ID: 258447
           Summary: add! no longer works in PPP the way its described
           Product: Base System
           Version: 13.0-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: mike@sentex.net

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

-- 
You are receiving this mail because:
You are the assignee for the bug.