diff options
author | roberto <roberto@FreeBSD.org> | 2000-08-01 17:14:38 +0000 |
---|---|---|
committer | roberto <roberto@FreeBSD.org> | 2000-08-01 17:14:38 +0000 |
commit | aab96ffa417c3ee825b56c9e073581124685e7c1 (patch) | |
tree | 37ef261c70e88d6d2755e5ca509567c1cef755e7 /sys/contrib/ipfilter | |
parent | 3d4cf3c369d0c223e7ac1dad03f5542e5fbca317 (diff) | |
download | FreeBSD-src-aab96ffa417c3ee825b56c9e073581124685e7c1.zip FreeBSD-src-aab96ffa417c3ee825b56c9e073581124685e7c1.tar.gz |
Change __FreeBSD_Version into the proper __FreeBSD_version.
Submitted by: Alain.Thivillon@hsc.fr (Alain Thivillon) (for ip_fil.c)
Diffstat (limited to 'sys/contrib/ipfilter')
-rw-r--r-- | sys/contrib/ipfilter/netinet/ip_auth.c | 2 | ||||
-rw-r--r-- | sys/contrib/ipfilter/netinet/ip_fil.c | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/sys/contrib/ipfilter/netinet/ip_auth.c b/sys/contrib/ipfilter/netinet/ip_auth.c index 14c4f82..ff72825 100644 --- a/sys/contrib/ipfilter/netinet/ip_auth.c +++ b/sys/contrib/ipfilter/netinet/ip_auth.c @@ -47,7 +47,7 @@ static const char rcsid[] = "@(#)$FreeBSD$"; # include <sys/stream.h> # include <sys/kmem.h> #endif -#if (_BSDI_VERSION >= 199802) || (__FreeBSD_Version >= 400000) +#if (_BSDI_VERSION >= 199802) || (__FreeBSD_version >= 400000) # include <sys/queue.h> #endif #if defined(__NetBSD__) || defined(__OpenBSD__) || defined(bsdi) diff --git a/sys/contrib/ipfilter/netinet/ip_fil.c b/sys/contrib/ipfilter/netinet/ip_fil.c index df610b4..c9e6901 100644 --- a/sys/contrib/ipfilter/netinet/ip_fil.c +++ b/sys/contrib/ipfilter/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 >= 500011) + (_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 >= 500011))) + ((__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 >= 500011) +# 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 >= 500011)) + ((__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 >= 500011)) +# 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) |