public inbox for linux-man@vger.kernel.org
 help / color / mirror / Atom feed
From: Simon Essien <champbreed1@gmail.com>
To: alx@kernel.org
Cc: linux-man@vger.kernel.org, champbreed1@gmail.com
Subject: [PATCH] gai.conf.5: Fix syntax and description for 'label' keyword
Date: Tue,  6 Jan 2026 10:40:17 +0000	[thread overview]
Message-ID: <20260106104017.38763-1-champbreed1@gmail.com> (raw)

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


                 reply	other threads:[~2026-01-06 10:40 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260106104017.38763-1-champbreed1@gmail.com \
    --to=champbreed1@gmail.com \
    --cc=alx@kernel.org \
    --cc=linux-man@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox