aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsem <sem@FreeBSD.org>2009-01-04 01:38:06 +0800
committersem <sem@FreeBSD.org>2009-01-04 01:38:06 +0800
commit7f6fa5b2edc1771947e1081f6e79026fd685efd0 (patch)
treec002ed2c65865c7032a3541bfccc7273f3d18c3c
parent4b1baf56f7208477a8cc2a1b660f790b346ef6cf (diff)
downloadfreebsd-ports-gnome-7f6fa5b2edc1771947e1081f6e79026fd685efd0.tar.gz
freebsd-ports-gnome-7f6fa5b2edc1771947e1081f6e79026fd685efd0.tar.zst
freebsd-ports-gnome-7f6fa5b2edc1771947e1081f6e79026fd685efd0.zip
- Fix build on CURRENT with new arp code
Submitted by: Ian FREISLICH (on net@) Approved by: maintainer
-rw-r--r--net/quagga/files/patch-zebra-kernel_socket.c28
1 files changed, 28 insertions, 0 deletions
diff --git a/net/quagga/files/patch-zebra-kernel_socket.c b/net/quagga/files/patch-zebra-kernel_socket.c
new file mode 100644
index 000000000000..8fec80f09f48
--- /dev/null
+++ b/net/quagga/files/patch-zebra-kernel_socket.c
@@ -0,0 +1,28 @@
+--- zebra/kernel_socket.c.orig 2009-01-03 20:20:10.000000000 +0300
++++ zebra/kernel_socket.c 2009-01-03 20:22:37.000000000 +0300
+@@ -173,9 +173,13 @@
+ #ifdef RTF_MASK
+ {RTF_MASK, "MASK"},
+ #endif /* RTF_MASK */
++#ifdef RTF_CLONING
+ {RTF_CLONING, "CLONING"},
++#endif /* RTF_CLONING */
+ {RTF_XRESOLVE, "XRESOLVE"},
++#ifdef RTF_LLINFO
+ {RTF_LLINFO, "LLINFO"},
++#endif /* RTF_LLINFO */
+ {RTF_STATIC, "STATIC"},
+ {RTF_BLACKHOLE, "BLACKHOLE"},
+ #ifdef RTF_PRIVATE
+@@ -999,9 +1003,11 @@
+ if (gate && message == RTM_ADD)
+ msg.rtm.rtm_flags |= RTF_GATEWAY;
+
++#ifdef RTF_CLONING
+ if (! gate && message == RTM_ADD && ifp &&
+ (ifp->flags & IFF_POINTOPOINT) == 0)
+ msg.rtm.rtm_flags |= RTF_CLONING;
++#endif */ RTF_CLONING */
+
+ /* If no protocol specific gateway is specified, use link
+ address for gateway. */