From 4fc5f321bac9b33c6163dedb98108e9755fa284c Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Sat, 4 May 2024 15:41:36 -0600 Subject: 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 -- cgit v1.2.3