[Bug 273640] route delete fails when specifying the interface
Date: Fri, 08 Sep 2023 19:08:30 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273640
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
--
You are receiving this mail because:
You are the assignee for the bug.