summaryrefslogtreecommitdiffstats
path: root/sys/netinet
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>2000-08-01 00:04:24 +0000
committerache <ache@FreeBSD.org>2000-08-01 00:04:24 +0000
commit16cb133f9b712a41bab9c10041612784e59cb261 (patch)
tree38a70f2b8e67a98133aef7a8721cee8d71047687 /sys/netinet
parent66921523184adfd27e382e0deb15428f629097c1 (diff)
downloadFreeBSD-src-16cb133f9b712a41bab9c10041612784e59cb261.zip
FreeBSD-src-16cb133f9b712a41bab9c10041612784e59cb261.tar.gz
Add missing '0' to FreeBSD_version test: 50011 -> 500011
Diffstat (limited to 'sys/netinet')
-rw-r--r--sys/netinet/ip_fil.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/netinet/ip_fil.c b/sys/netinet/ip_fil.c
index e6cdb81..df610b4 100644
--- a/sys/netinet/ip_fil.c
+++ b/sys/netinet/ip_fil.c
@@ -191,7 +191,7 @@ struct devsw iplsw = {
#endif /* _BSDI_VERSION >= 199510 && _KERNEL */
#if defined(__NetBSD__) || defined(__OpenBSD__) || \
- (_BSDI_VERSION >= 199701) || (__FreeBSD_Version >= 50011)
+ (_BSDI_VERSION >= 199701) || (__FreeBSD_Version >= 500011)
# include <sys/conf.h>
# if defined(NETBSD_PF)
# include <net/pfil.h>
@@ -233,7 +233,7 @@ int iplattach()
char *defpass;
int s;
# if defined(__sgi) || (defined(NETBSD_PF) && \
- ((__NetBSD_Version__ >= 104200000) || (__FreeBSD_Version >= 50011)))
+ ((__NetBSD_Version__ >= 104200000) || (__FreeBSD_Version >= 500011)))
int error = 0;
# endif
@@ -255,7 +255,7 @@ int iplattach()
return -1;
# ifdef NETBSD_PF
-# if (__NetBSD_Version__ >= 104200000) || (__FreeBSD_Version >= 50011)
+# if (__NetBSD_Version__ >= 104200000) || (__FreeBSD_Version >= 500011)
error = pfil_add_hook((void *)fr_check, PFIL_IN|PFIL_OUT,
&inetsw[ip_protox[IPPROTO_IP]].pr_pfh);
if (error) {
@@ -341,7 +341,7 @@ int ipldetach()
{
int s, i = FR_INQUE|FR_OUTQUE;
#if defined(NETBSD_PF) && \
- ((__NetBSD_Version__ >= 104200000) || (__FreeBSD_Version >= 50011))
+ ((__NetBSD_Version__ >= 104200000) || (__FreeBSD_Version >= 500011))
int error = 0;
#endif
@@ -375,7 +375,7 @@ int ipldetach()
fr_running = 0;
# ifdef NETBSD_PF
-# if ((__NetBSD_Version__ >= 104200000) || (__FreeBSD_Version >= 50011))
+# if ((__NetBSD_Version__ >= 104200000) || (__FreeBSD_Version >= 500011))
error = pfil_remove_hook((void *)fr_check, PFIL_IN|PFIL_OUT,
&inetsw[ip_protox[IPPROTO_IP]].pr_pfh);
if (error)
OpenPOWER on IntegriCloud