aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2021-02-10 01:13:01 +0000
committerCy Schubert <cy@FreeBSD.org>2021-02-10 01:18:25 +0000
commit1e811efbc591699b872bea42b9de419c373199df (patch)
tree3a86cf9bb952ef3b46a790e73613f2198ed7decd /sys
parentf25266bee7dafb10f03e06537c8127cc17335bed (diff)
downloadsrc-1e811efbc591699b872bea42b9de419c373199df.tar.gz
src-1e811efbc591699b872bea42b9de419c373199df.zip
Fix non-IPv6 build post 57785538c6e0d7e8ca0f161ab95bae10fd304047.
57785538c6e0d7e8ca0f161ab95bae10fd304047 change the test for FreeBSD from __FreeBSD_version to __FreeBSD__. However this test was performed before sys/param.h was included, therefore __FreeBSD_version was never defined. As the test was never true opt_random_ip_id.h was never included. Submitted by: bdragon Reported by: bdragon MFC after: 1 week X-MFC with: 57785538c6e0d7e8ca0f161ab95bae10fd304047
Diffstat (limited to 'sys')
-rw-r--r--sys/contrib/ipfilter/netinet/ip_fil_freebsd.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/contrib/ipfilter/netinet/ip_fil_freebsd.c b/sys/contrib/ipfilter/netinet/ip_fil_freebsd.c
index 9f03ab3bf946..bac73cee4e8b 100644
--- a/sys/contrib/ipfilter/netinet/ip_fil_freebsd.c
+++ b/sys/contrib/ipfilter/netinet/ip_fil_freebsd.c
@@ -20,10 +20,6 @@ static const char rcsid[] = "@(#)$Id$";
!defined(KLD_MODULE) && !defined(IPFILTER_LKM)
# include "opt_inet6.h"
#endif
-#if defined(__FreeBSD__) && \
- !defined(KLD_MODULE) && !defined(IPFILTER_LKM)
-# include "opt_random_ip_id.h"
-#endif
#include <sys/param.h>
#include <sys/eventhandler.h>
#include <sys/conf.h>