aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2024-05-04 21:41:36 +0000
committerWarner Losh <imp@FreeBSD.org>2024-05-04 21:41:36 +0000
commit4fc5f321bac9b33c6163dedb98108e9755fa284c (patch)
tree216bbb48efb37adf0a2d7b66dca071318b6d89e8
parent3f65000b6b1460a7a23cd83014bb41a68d1a8a19 (diff)
downloadsrc-4fc5f321bac9b33c6163dedb98108e9755fa284c.tar.gz
src-4fc5f321bac9b33c6163dedb98108e9755fa284c.zip
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
-rw-r--r--share/man/man5/rc.conf.54
1 files 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