Thread View: muc.lists.freebsd.bugs
3 messages
3 total messages
Started by bugzilla-noreply
Wed, 11 Nov 2026 07:55
[Bug 300680] Man page / source code discrepancy
Author: bugzilla-noreply
Date: Wed, 11 Nov 2026 07:55
Date: Wed, 11 Nov 2026 07:55
57 lines
3668 bytes
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
[Bug 300680] ip(4): Man page / source code discrepancy
Author: bugzilla-noreply
Date: Wed, 11 Nov 2026 08:13
Date: Wed, 11 Nov 2026 08:13
19 lines
2730 bytes
2730 bytes
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=300680
Wolfram Schneider <wosch@FreeBSD.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|Man page / source code |ip(4): Man page / source
|discrepancy |code discrepancy
CC| |bms@FreeBSD.org,
| |wosch@FreeBSD.org
--
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
[Bug 300680] ip(4): Man page / source code discrepancy
Author: bugzilla-noreply
Date: Sun, 15 Nov 2026 07:47
Date: Sun, 15 Nov 2026 07:47
18 lines
2622 bytes
2622 bytes
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=300680
Alexander Ziaee <ziaee@FreeBSD.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|New |In Progress
CC| |ziaee@FreeBSD.org
Assignee|bugs@FreeBSD.org |ziaee@FreeBSD.org
--
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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads