[Bug 193245] New: net/bird need patching since raw_socket change
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Sep 2 05:15:21 UTC 2014
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193245
Bug ID: 193245
Summary: net/bird need patching since raw_socket change
Product: Ports Tree
Version: Latest
Hardware: Any
OS: Any
Status: Needs Triage
Severity: Affects Many People
Priority: ---
Component: Individual Port(s)
Assignee: freebsd-ports-bugs at FreeBSD.org
Reporter: olivier at cochard.me
Following the commit r270929 in -current (detail here:
https://wiki.freebsd.org/SOCK_RAW), net/bird needs to be adapted.
Using OSPF with bird on this new -current didn't work and log message show
this:
Sep 2 07:08:58 R4 bird: R4: Socket error on vtnet2: Invalid argument
In file sysdep/bsd/sysio.h, there is this code:
#ifdef __OpenBSD__
/* OpenBSD expects ip_len in network order, other BSDs expect host order */
ip->ip_len = htons(ip->ip_len);
#endif
I've tried to replace by:
#if defined(__OpenBSD__) || (__FreeBSD_version >= 1100030)
/* OpenBSD and FreeBSD (since 11) expects ip_len in network order, other BSDs
expect host order */
ip->ip_len = htons(ip->ip_len);
#endif
But it's not enough for fixing the issue: I need help for a working patch.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list