Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Mar 2023 08:52:03 +0000
From:      bugzilla-noreply@freebsd.org
To:        net@FreeBSD.org
Subject:   [Bug 270351] Incompatible change in route(8) utility since 13.x
Message-ID:  <bug-270351-7501-LrwdmO4fZn@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-270351-7501@https.bugs.freebsd.org/bugzilla/>
References:  <bug-270351-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=3D270351

--- Comment #4 from Jamie Landeg-Jones <jamie@catflap.org> ---
(In reply to Eugene Grosbein from comment #2)

> The task is look up a route not knowing a mask beforehand and find the ma=
sk.

But did it ever work though? I'm sure that on 12.X and earlier, it's not
actually finding the mask, it's just assuming you're looking for a /24.

If you try creating (say) a /23 instead of a 24, you'll find the 'route -n =
get
-net 192.168.0.0" doesn't return the /23, it instead fails.

The confusion to me is that it now seems that "-net" / "-host" are redundan=
t. -
A "net" without a mask is now considered a host, not given the old pre-cidr
default mask.

--=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-270351-7501-LrwdmO4fZn>