]> git.puffer.fish Git - mirror/frr.git/commitdiff
ospfd: stop checking for ancient OpenBSD 5971/head
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Wed, 11 Mar 2020 12:11:04 +0000 (13:11 +0100)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Thu, 19 Mar 2020 15:16:47 +0000 (16:16 +0100)
Signed-off-by: Ruben Kerkhof <ruben@rubenkerkhof.com>
ospfd/ospf_packet.c

index d87f02627bf1d2836471392c5ead965bd144f504..0808f245e2bded8ed7b1b437a14974a245567538 100644 (file)
@@ -2335,7 +2335,7 @@ static struct stream *ospf_recv_packet(struct ospf *ospf, int fd,
 
        ip_len = iph->ip_len;
 
-#if !defined(GNU_LINUX) && (OpenBSD < 200311) && (__FreeBSD_version < 1000000)
+#if defined(__FreeBSD__) && (__FreeBSD_version < 1000000)
        /*
         * Kernel network code touches incoming IP header parameters,
         * before protocol specific processing.