git: 4fc5f321bac9 - main - rc.conf.5: Fix translation from netmask to cdir
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 04 May 2024 21:48:00 UTC
The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=4fc5f321bac9b33c6163dedb98108e9755fa284c commit 4fc5f321bac9b33c6163dedb98108e9755fa284c Author: Warner Losh <imp@FreeBSD.org> AuthorDate: 2024-05-04 21:41:36 +0000 Commit: Warner Losh <imp@FreeBSD.org> CommitDate: 2024-05-04 21:41:36 +0000 rc.conf.5: Fix translation from netmask to cdir These two should have been 30 bit masks, not 32, as the original netmasks were 255.255.255.252. Fixes: cb808de400c7 Noticed by: Kelly Hays --- share/man/man5/rc.conf.5 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/share/man/man5/rc.conf.5 b/share/man/man5/rc.conf.5 index 91da91691756..a45c60cca410 100644 --- a/share/man/man5/rc.conf.5 +++ b/share/man/man5/rc.conf.5 @@ -2062,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/32 10.0.0.2" +ifconfig_gif0="inet 10.0.0.1/30 10.0.0.2" gifconfig_gif1="inet6 2a00::1 2a01::1" -ifconfig_gif1="inet 10.1.0.1/32 10.1.0.2" +ifconfig_gif1="inet 10.1.0.1/30 10.1.0.2" .Ed .It Va ppp_enable .Pq Vt bool