]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
man/man5/gai.conf: EXAMPLES: Document glibc label additions
authorDr. David Alan Gilbert <dave@treblig.org>
Mon, 5 Jan 2026 17:44:01 +0000 (17:44 +0000)
committerAlejandro Colomar <alx@kernel.org>
Tue, 6 Jan 2026 13:59:50 +0000 (14:59 +0100)
Glibc includes some extra entries in its default label table
as listed in the gai.conf it distributes.

Update the EXAMPLES to include the spec default and the version glibc
actually uses.

Link: <https://sourceware.org/git/?p=glibc.git;a=blob;f=posix/gai.conf>
Signed-off-by: Dr. David Alan Gilbert <dave@treblig.org>
Message-ID: <20260105174401.222443-1-dg@treblig.org>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
man/man5/gai.conf.5

index 4aff0b0b9b64e1301168b37ec56c2e6d0fe35c38..7a92e098cedb19f1d7755f2f322c2d2e180a9043 100644 (file)
@@ -88,6 +88,22 @@ precedence ::/96          20
 precedence ::ffff:0:0/96  10
 .EE
 .in
+.P
+glibc includes some extra rules in the label table
+for site-local addresses, ULA, and Teredo tunnels.
+Its default label table is:
+.in +4n
+.EX
+label ::1/128        0
+label ::/0           1
+label 2002::/16      2
+label ::/96          3
+label ::ffff:0:0/96  4
+label fec0::/10      5
+label fc00::/7       6
+label 2001:0::/32    7
+.EE
+.in
 .\" .SH AUTHOR
 .\" Ulrich Drepper <drepper@redhat.com>
 .\"