Date: Thu, 18 Feb 2021 22:31:29 +0000 From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 253620] Calling route delete with an invalid gateway deletes the route Message-ID: <bug-253620-7501-qtO6w3k7U4@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-253620-7501@https.bugs.freebsd.org/bugzilla/> References: <bug-253620-7501@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253620 Alexander V. Chernikov <melifaro@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |melifaro@FreeBSD.org --- Comment #1 from Alexander V. Chernikov <melifaro@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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-253620-7501-qtO6w3k7U4>
