[Bug 253620] Calling route delete with an invalid gateway deletes the route
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Feb 18 22:31:30 UTC 2021
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253620
Alexander V. Chernikov <melifaro at FreeBSD.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |melifaro at FreeBSD.org
--- Comment #1 from Alexander V. Chernikov <melifaro at FreeBSD.org> ---
IIRC gateway value is simply ignored in GENERIC kernel - the only thing that
code checks is the prefix.
This part has been changed in 13 - if a gateway is specified, then the route
gateway(s) are checked for the match.
I agree that 12 behaviour may look weird, however, that's what existed
historically.
I'm not sure if we can change it in FreeBSD 12, as we need to preserve
compatibility any people may rely on this behaviour.
Re interface route: could you please clarify what do you think should be the
expected behaviour?
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-net
mailing list