Skip to contentSkip to conversation

gai.conf.5: Fix syntax and description for 'label' keyword

PATCH New Simon Essien 1 participant 1 message Jan 6 Man-pages: manual pages for Linux -- Sections 2, 3, 4, 5, and 7

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gai.conf.5: Fix syntax and description for 'label' keyword

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

---
 man/man5/gai.conf.5 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
man/man5/gai.conf.5 +2 -2
index d80c23311..b95598e14 100644
@@ -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
Signature · 1 line
2.51.0