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.
CC Maintainer.
Created attachment 147686 [details] Here is a working patch Updated working patch
A commit references this bug: Author: melifaro Date: Sat Sep 27 08:45:14 UTC 2014 New revision: 369382 URL: https://svnweb.freebsd.org/changeset/ports/369382 Log: Fix raw sockets operation for bird on -current. PR: 193245 Submitted by: olivier Approved by: az (implicit) Changes: head/net/bird/Makefile head/net/bird/files/patch-bsd-sysdep.h
Assign to melifaro@ for resolution post-commit (r369382), or a comment on what's left to do
All done: There is nothing left to do. Thanks melifaro!