public inbox for linux-man@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] gai.conf.5: Fix syntax and description for 'label' keyword
@ 2026-01-06 10:40 Simon Essien
  0 siblings, 0 replies; only message in thread
From: Simon Essien @ 2026-01-06 10:40 UTC (permalink / raw)
  To: alx; +Cc: linux-man, champbreed1

The documentation incorrectly listed 'precedence' as the parameter for
'label'. Updated it to 'label-value' to match the actual glibc
implementation and RFC 3484.

Fixes: https://bugzilla.kernel.org/show_bug.cgi?id=208879
Signed-off-by: Simon Essien <champbreed1@gmail.com>
---
 man/man5/gai.conf.5 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/man/man5/gai.conf.5 b/man/man5/gai.conf.5
index d80c23311..b95598e14 100644
--- a/man/man5/gai.conf.5
+++ b/man/man5/gai.conf.5
@@ -26,7 +26,7 @@ Lines starting with \[aq]#\[aq] are comments and are ignored.
 .P
 The keywords currently recognized are:
 .TP
-.BI label\~ netmask\~precedence
+.BI label\~ netmask\~label-value
 The value is added to the label table used in the RFC\ 3484 sorting.
 If any
 .B label
@@ -35,7 +35,7 @@ the default table is not used.
 All the label definitions
 of the default table which are to be maintained have to be duplicated.
 Following the keyword,
-the line has to contain a network mask and a precedence value.
+the line has to contain a network mask and a label value.
 .TP
 .BI precedence\~ netmask\~precedence
 This keyword is similar to
-- 
2.51.0


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-01-06 10:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-06 10:40 [PATCH] gai.conf.5: Fix syntax and description for 'label' keyword Simon Essien

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox