aboutsummaryrefslogtreecommitdiffstats
path: root/net/quagga/files/patch-ospfd__ospf_packet.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/quagga/files/patch-ospfd__ospf_packet.c')
-rw-r--r--net/quagga/files/patch-ospfd__ospf_packet.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/net/quagga/files/patch-ospfd__ospf_packet.c b/net/quagga/files/patch-ospfd__ospf_packet.c
new file mode 100644
index 000000000000..a0263c8bb63c
--- /dev/null
+++ b/net/quagga/files/patch-ospfd__ospf_packet.c
@@ -0,0 +1,11 @@
+--- ospfd/ospf_packet.c.orig 2011-09-29 18:59:32.000000000 +0600
++++ ospfd/ospf_packet.c 2011-11-12 12:02:58.000000000 +0600
+@@ -2116,7 +2116,7 @@
+
+ ip_len = iph->ip_len;
+
+-#if !defined(GNU_LINUX) && (OpenBSD < 200311)
++#if !defined(GNU_LINUX) && (OpenBSD < 200311) && (__FreeBSD_version >= 1000000)
+ /*
+ * Kernel network code touches incoming IP header parameters,
+ * before protocol specific processing.