3463251978
Quagga is a routing software suite, providing implementations of OSPFv2, OSPFv3, RIP v1 and v2, RIPv3 and BGPv4 for Unix platforms, particularly FreeBSD and Linux and also NetBSD, to mention a few. Quagga is a fork of GNU Zebra which was developed by Kunihiro Ishiguro. The Quagga tree aims to build a more involved community around Quagga than the current centralized model of GNU Zebra. WWW: http://www.quagga.net/
20 lines
726 B
Plaintext
20 lines
726 B
Plaintext
$OpenBSD: patch-ospfd_ospf_packet_c,v 1.1.1.1 2003/12/11 19:00:59 david Exp $
|
|
--- ospfd/ospf_packet.c.orig 2003-09-24 08:28:30.000000000 -0500
|
|
+++ ospfd/ospf_packet.c 2003-12-03 01:14:31.000000000 -0600
|
|
@@ -1936,13 +1936,13 @@ ospf_recv_packet (int fd, struct interfa
|
|
return NULL;
|
|
}
|
|
|
|
-#if defined(__NetBSD__) || defined(__FreeBSD__) || defined(__OpenBSD__)
|
|
+#if defined(__NetBSD__) || defined(__FreeBSD__) || (defined(__OpenBSD__) && (OpenBSD < 200311))
|
|
ip_len = iph.ip_len;
|
|
#else
|
|
ip_len = ntohs (iph.ip_len);
|
|
#endif
|
|
|
|
-#if !defined(GNU_LINUX)
|
|
+#if !defined(GNU_LINUX) && (OpenBSD < 200311)
|
|
/*
|
|
* Kernel network code touches incoming IP header parameters,
|
|
* before protocol specific processing.
|