🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: muc.lists.freebsd.bugs
Article #414

[Bug 300680] Man page / source code discrepancy

#414
From: bugzilla-noreply
Date: Wed, 11 Nov 2026 07:55
57 lines
3668 bytes
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=300680

            Bug ID: 300680
           Summary: Man page / source code discrepancy
           Product: Documentation
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Manual Pages
          Assignee: bugs@FreeBSD.org
          Reporter: unixdev73@gmail.com
                CC: doc@FreeBSD.org
 Attachment #277184 text/plain
         mime type:

Created attachment 277184
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=277184&action=edit
A minimal reproducer; Can be compiled with: clang main.c

The man page:
https://man.freebsd.org/cgi/man.cgi?query=ip&sektion=4&apropos=0&manpath=FreeBSD+15.1-RELEASE+and+Ports.quarterly

lists a structure definition that does not match the one in the sources:

"struct ip_mreqn {
struct in_addr imr_multiaddr; /* IP multicast address of group */
struct in_addr imr_interface; /* local IP address of interface */
int imr_ifindex; /* interface index */
}"

The actual structure definition can be found here:
https://github.com/freebsd/freebsd-src/blob/main/sys/netinet/in.h#L563:

"struct ip_mreqn {
        struct  in_addr imr_multiaddr;  /* IP multicast address of group */
        struct  in_addr imr_address;    /* local IP address of interface */
        int             imr_ifindex;    /* Interface index; cast to uint32_t */
}"

Using imr_interface in code will cause a compilation error:

error: no member named 'imr_interface' in 'struct ip_mreqn'

-- 
You are receiving this mail because:
You are the assignee for the bug.

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Technical Details
Message-ID: <bug-300680-227@https.bugs.freebsd.org/bugzilla/>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.mb-net.net!open-news-network.org!2.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.muc.de!.POSTED.news.muc.de!not-for-mail

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.mb-net.net!open-news-network.org!2.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.muc.de!.POSTED.news.muc.de!not-for-mail
From: bugzilla-noreply@freebsd.org
Newsgroups: muc.lists.freebsd.bugs
Subject: [Bug 300680] Man page / source code discrepancy
Date: Wed, 11 Nov 2026 07:55:58 +0000
Organization: Newsgate at muc.de e.V.
Approved: news-admin@muc.de
Distribution: world
Message-ID: <bug-300680-227@https.bugs.freebsd.org/bugzilla/>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Injection-Info: news.muc.de; posting-host="news.muc.de:193.149.48.2";
	logging-data="17748"; mail-complaints-to="news-admin@muc.de"
X-Original-To: bugs@mlmmj.nyi.freebsd.org
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim;
	t=1794383758;
	h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
	 to:to:cc:mime-version:mime-version:content-type:content-type:
	 content-transfer-encoding:content-transfer-encoding;
	bh=iTz7y/+QPW0slk+WYHzzfXKe/iPKSbRJjwA3tSaKIjk=;
	b=UbS+XrU7KK/dgotJrwd0aKIcMOSB0DNgNFwJTyDEt5jJYNjCgD5pO07u8KYyRnftdVlh4Y
	+xYuW/QL55HgrVAosKpwHQCBicBnzSynxeicUYf96Y/HPmwfx4MTW3AatuK4DkxHYIcyFC
	t9lVlrVE5O2rJd/vG/NkzVg0qwTX044rWRWTWa4EYtiTdz06gvz7b9NkiE00yGiZ53ulES
	/IDM1NUfyxZntv90OmIIo3BT1sKq97r8C+obeHgaOkmHlW3DgCeRTbo42bSjg03BuRdvDT
	/z0dIhNDbeJkrh490FDzfRMFNVQxXKHHhXXbHbfTrrh02fQB9y8W4ixLY1oWsg==
X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f
Auto-Submitted: auto-generated
Precedence: list
X-Newsgate-Id: f02c70b8849f+
X-No-Archive: Yes