Re: git: cb808de400c7 - main - rc.conf.5: modernise network_interfaces

From: Lexi Winter <lexi_at_le-fay.org>
Date: Sat, 04 May 2024 19:40:13 UTC
Kelly Hays:
> On Sat, May 4, 2024 at 11:45 AM Warner Losh <imp@freebsd.org> wrote:
> > @@ -2045,9 +2062,9 @@ interfaces with:
> >  .Bd -literal
> >  gif_interfaces="gif0 gif1"
> >  gifconfig_gif0="100.64.0.1 100.64.0.2"
> > -ifconfig_gif0="inet 10.0.0.1 10.0.0.2 netmask 255.255.255.252"
> > +ifconfig_gif0="inet 10.0.0.1/32 10.0.0.2"
> >  gifconfig_gif1="inet6 2a00::1 2a01::1"
> > -ifconfig_gif1="inet 10.1.0.1 10.1.0.2 netmask 255.255.255.252"
> > +ifconfig_gif1="inet 10.1.0.1/32 10.1.0.2"
> 
> In the last example above the CIDR notation for the netmask of
> 255.255.255.252 would be /30 not /32.

yes, this is wrong.  imp: can you fix this or do you want a new PR?