git: 9cb98ab7ceeb - main - getaddrinfo.{1,3}: Cross-reference ip6addrctl(8)

From: Warner Losh <imp_at_FreeBSD.org>
Date: Fri, 06 Sep 2024 18:35:27 UTC
The branch main has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=9cb98ab7ceeb97b70a4891a4a3a21372158ccf24

commit 9cb98ab7ceeb97b70a4891a4a3a21372158ccf24
Author:     Jose Luis Duran <jlduran@gmail.com>
AuthorDate: 2024-08-22 14:19:44 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2024-09-06 18:34:32 +0000

    getaddrinfo.{1,3}: Cross-reference ip6addrctl(8)
    
    Reviewed by: imp, glebius
    Pull Request: https://github.com/freebsd/freebsd-src/pull/1375
---
 lib/libc/net/getaddrinfo.3        | 3 ++-
 usr.bin/getaddrinfo/getaddrinfo.1 | 3 ++-
 usr.sbin/ip6addrctl/ip6addrctl.8  | 2 ++
 3 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/lib/libc/net/getaddrinfo.3 b/lib/libc/net/getaddrinfo.3
index 271ef8a0102b..634786a8bd12 100644
--- a/lib/libc/net/getaddrinfo.3
+++ b/lib/libc/net/getaddrinfo.3
@@ -480,7 +480,8 @@ freeaddrinfo(res0);
 .Xr hosts 5 ,
 .Xr resolv.conf 5 ,
 .Xr services 5 ,
-.Xr hostname 7
+.Xr hostname 7 ,
+.Xr ip6addrctl 8
 .Rs
 .%A R. Gilligan
 .%A S. Thomson
diff --git a/usr.bin/getaddrinfo/getaddrinfo.1 b/usr.bin/getaddrinfo/getaddrinfo.1
index ff99cd1ea1ee..fa9e8adce6a2 100644
--- a/usr.bin/getaddrinfo/getaddrinfo.1
+++ b/usr.bin/getaddrinfo/getaddrinfo.1
@@ -171,7 +171,8 @@ stream inet tcp 199.233.217.249 80
 .Xr nsswitch.conf 5 ,
 .Xr protocols 5 ,
 .Xr resolv.conf 5 ,
-.Xr services 5
+.Xr services 5 ,
+.Xr ip6addrctl 8
 .Sh HISTORY
 The
 .Nm
diff --git a/usr.sbin/ip6addrctl/ip6addrctl.8 b/usr.sbin/ip6addrctl/ip6addrctl.8
index cf8f1db4a8bd..50245cef91ea 100644
--- a/usr.sbin/ip6addrctl/ip6addrctl.8
+++ b/usr.sbin/ip6addrctl/ip6addrctl.8
@@ -106,6 +106,8 @@ comments and are ignored.
 .Ex -std
 .\"
 .Sh SEE ALSO
+.Xr getaddrinfo 1 ,
+.Xr getaddrinfo 3
 .Rs
 .%A "Dave Thaler"
 .%A "Richard Draves"