git: 22a4f5dd0c1b - main - ip.4: Fix ip_mreqn imr_address field name
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 15 Nov 2026 08:02:26 UTC
The branch main has been updated by ziaee:
URL: https://cgit.FreeBSD.org/src/commit/?id=22a4f5dd0c1be42fdbde9ddb96335bfcf31e53d7
commit 22a4f5dd0c1be42fdbde9ddb96335bfcf31e53d7
Author: Anshuman Dutta <anshuman.123dutta@gmail.com>
AuthorDate: 2026-11-14 14:36:09 +0000
Commit: Alexander Ziaee <ziaee@FreeBSD.org>
CommitDate: 2026-11-15 07:52:00 +0000
ip.4: Fix ip_mreqn imr_address field name
This manual used imr_interface when describing the second field of
struct ip_mreqn, but sys/netinet/in.h names that field imr_address.
Note that ip_mreq below does have imr_interface which is unchanged.
PR: 300680
MFC after: 3 days
Reviewed by: ziaee
Closes: https://github.com/freebsd/freebsd-src/pull/2553
---
share/man/man4/ip.4 | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/share/man/man4/ip.4 b/share/man/man4/ip.4
index 140866f6fcf6..39ac55bb39a1 100644
--- a/share/man/man4/ip.4
+++ b/share/man/man4/ip.4
@@ -25,7 +25,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd May 7, 2026
+.Dd November 18, 2026
.Dt IP 4
.Os
.Sh NAME
@@ -586,15 +586,15 @@ the host is multihomed.
If
.Va imr_ifindex
is non-zero, value of
-.Va imr_interface
+.Va imr_address
is ignored.
Otherwise, if
.Va imr_ifindex
is 0, kernel will use IP address from
-.Va imr_interface
+.Va imr_address
to lookup the interface.
Value of
-.Va imr_interface
+.Va imr_address
may be set to
.Va INADDR_ANY
to choose the default interface, although this is not recommended; this is