- Fix regression in ospfd after upgrade to 0.99.20_2

PR:             ports/162559
Submitted by:   Ildar Hizbulin <hizel_at_vyborg.ru>
Fixed by:       maintainer
Feature safe:	Yes
This commit is contained in:
Sergey Matveychuk 2011-11-17 13:02:07 +00:00
parent 42e944e912
commit 028ceb478f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=285955
2 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@
PORTNAME= quagga
PORTVERSION= 0.99.20
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= net ipv6
MASTER_SITES= http://quagga.net/download/ \
http://www.ru.quagga.net/download/ \

View File

@ -5,7 +5,7 @@
ip_len = iph->ip_len;
-#if !defined(GNU_LINUX) && (OpenBSD < 200311)
+#if !defined(GNU_LINUX) && (OpenBSD < 200311) && (__FreeBSD_version >= 1000000)
+#if !defined(GNU_LINUX) && (OpenBSD < 200311) && (__FreeBSD_version < 1000000)
/*
* Kernel network code touches incoming IP header parameters,
* before protocol specific processing.