The branch main has been updated by cy:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=1403ca10189c47ad1de3915eeb030deddc114685

commit 1403ca10189c47ad1de3915eeb030deddc114685
Author:     Yusuke Ichiki <[email protected]>
AuthorDate: 2026-07-17 14:58:42 +0000
Commit:     Cy Schubert <[email protected]>
CommitDate: 2026-07-17 16:51:11 +0000

    man: Fix RFC 1918 network prefix lengths
    
    According to RFC 1918, the following IP prefixes are reserved for
    private internets:
    
        10.0.0.0/8
        172.16.0.0/12
        192.168.0.0/16
    
    This PR fixes the prefix lengths in references to private networks
    ("RFC 1918 networks", "the standard private IP address ranges").
    The changes are limited to man pages.
    
    Signed-off-by:  Yusuke Ichiki <[email protected]>
    Pull Request:   https://github.com/freebsd/freebsd-src/pull/2328
    MFC after:      3 days
---
 sbin/ipf/ippool/ippool.5        | 2 +-
 sys/netinet/libalias/libalias.3 | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/sbin/ipf/ippool/ippool.5 b/sbin/ipf/ippool/ippool.5
index ae6c4b919940..a124a565f2db 100644
--- a/sbin/ipf/ippool/ippool.5
+++ b/sbin/ipf/ippool/ippool.5
@@ -131,7 +131,7 @@ The contents of the file might look something like this:
 10.0.0.0/8
 !127.0.0.0/8
 172.16.0.0/12
-192.168.0.0/24
+192.168.0.0/16
 .fi
 .PP
 In this example, the inclusion of the line "!127.0.0.0/8" is, strictly
diff --git a/sys/netinet/libalias/libalias.3 b/sys/netinet/libalias/libalias.3
index 1b8ecc14059d..27e03447dd25 100644
--- a/sys/netinet/libalias/libalias.3
+++ b/sys/netinet/libalias/libalias.3
@@ -203,8 +203,8 @@ originate from unregistered address spaces will be ignored.
 The standard private IP address ranges are:
 .Pp
 10.0.0.0           ->        10.255.255.255   (/8)
-172.16.0.0         ->        172.31.255.255   (/16)
-192.168.0.0        ->        192.168.255.255  (/24)
+172.16.0.0         ->        172.31.255.255   (/12)
+192.168.0.0        ->        192.168.255.255  (/16)
 .Pp
 This option is useful in the case that the packet aliasing host has both
 registered and unregistered subnets on different interfaces.

Reply via email to