"Christophe H. STux" <t...@stuxnet.org> writes:

[...]

> If using 5.9 obsd and 0.99.24p1 quagga absolutely nothing works about
> RIPv2 :
>
> quagga's ripd complains about (on all network interfaces) :
>
> RIP: can't setsockopt IP_ADD_MEMBERSHIP Can't assign requested address

Try the following diff

Index: patches/patch-configure
===================================================================
RCS file: patches/patch-configure
diff -N patches/patch-configure
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-configure     13 Apr 2016 07:36:28 -0000
@@ -0,0 +1,12 @@
+$OpenBSD$
+--- configure.orig     Wed Apr 13 09:35:57 2016
++++ configure  Wed Apr 13 09:36:22 2016
+@@ -16888,7 +16888,7 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ int
+ main ()
+ {
+-#if (defined(__FreeBSD__) && ((__FreeBSD_version >= 500022 && 
__FreeBSD_version < 700000) || (__FreeBSD_version < 500000 && __FreeBSD_version 
>= 440000))) || (defined(__NetBSD__) && defined(__NetBSD_Version__) && 
__NetBSD_Version__ >= 106010000) || defined(__OpenBSD__) || defined(__APPLE__) 
|| defined(__DragonFly__) || defined(__sun)
++#if (defined(__FreeBSD__) && ((__FreeBSD_version >= 500022 && 
__FreeBSD_version < 700000) || (__FreeBSD_version < 500000 && __FreeBSD_version 
>= 440000))) || (defined(__NetBSD__) && defined(__NetBSD_Version__) && 
__NetBSD_Version__ >= 106010000) || defined(__APPLE__) || 
defined(__DragonFly__) || defined(__sun)
+   return (0);
+ #else
+   #error No support for BSD struct ip_mreq hack detected

-- 
jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE 1524 E7EE

Reply via email to