Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 08 Sep 2023 19:08:30 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 273640] route delete fails when specifying the interface
Message-ID:  <bug-273640-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D273640

            Bug ID: 273640
           Summary: route delete fails when specifying the interface
           Product: Base System
           Version: 14.0-CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: mmendoza@netgate.com

route(8) fails to delete routes when the interface is specified.

Example route:
# route show -inet default
   route to: default
destination: default
       mask: default
    gateway: 10.0.5.1
        fib: 0
  interface: vmx0
      flags: <UP,GATEWAY,DONE,STATIC>
 recvpipe  sendpipe  ssthresh  rtt,msec    mtu       weight    expire
       0         0         0         0      1500        0         0

On FreeBSD 12.3-STABLE:
# route del -inet default -iface vmx0
del net default: gateway vmx0

On FreeBSD 14.0-CURRENT:
# route del -inet default -iface vmx0
route: route has not been found
del net default: gateway vmx0 fib 0: not in table

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-273640-227>