From 9cbfad0593f1a284750e48472bf0ba753c7ecf15 Mon Sep 17 00:00:00 2001 From: Sergey Matveychuk Date: Fri, 11 Jan 2008 14:06:45 +0000 Subject: - Add a work around for quagga works with multicast sockets in 7.0. Submitted by: maintainer --- net/quagga/files/patch-lib-sockopt.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 net/quagga/files/patch-lib-sockopt.c (limited to 'net/quagga/files/patch-lib-sockopt.c') diff --git a/net/quagga/files/patch-lib-sockopt.c b/net/quagga/files/patch-lib-sockopt.c new file mode 100644 index 000000000000..5995b3756e5f --- /dev/null +++ b/net/quagga/files/patch-lib-sockopt.c @@ -0,0 +1,13 @@ +--- lib/sockopt.c.orig 2008-01-11 16:47:21.000000000 +0300 ++++ lib/sockopt.c 2008-01-11 16:47:57.000000000 +0300 +@@ -23,6 +23,10 @@ + #include "log.h" + #include "sockopt.h" + ++#ifdef HAVE_STRUCT_IP_MREQN_IMR_IFINDEX ++#undef HAVE_STRUCT_IP_MREQN_IMR_IFINDEX ++#endif ++ + int + setsockopt_so_recvbuf (int sock, int size) + { -- cgit v1.2.3