summaryrefslogtreecommitdiffstats
path: root/sys/netinet6/ip6_input.c
diff options
context:
space:
mode:
authorume <ume@FreeBSD.org>2002-05-31 17:56:45 +0000
committerume <ume@FreeBSD.org>2002-05-31 17:56:45 +0000
commit21239aacf989689cb6a0ff3d9b83e6973327eeeb (patch)
treed9c0c59d89a355f9a98f7fb37be6896329a15edd /sys/netinet6/ip6_input.c
parent829d3078000b29485814d668067cd37af556c59e (diff)
downloadFreeBSD-src-21239aacf989689cb6a0ff3d9b83e6973327eeeb.zip
FreeBSD-src-21239aacf989689cb6a0ff3d9b83e6973327eeeb.tar.gz
__FreeBSD__ is not a compiler constant. We must use
__FreeBSD_version here. Submitted by: rwatson
Diffstat (limited to 'sys/netinet6/ip6_input.c')
-rw-r--r--sys/netinet6/ip6_input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet6/ip6_input.c b/sys/netinet6/ip6_input.c
index 16df5bb..0c401c8 100644
--- a/sys/netinet6/ip6_input.c
+++ b/sys/netinet6/ip6_input.c
@@ -1134,7 +1134,7 @@ ip6_savecontrol(in6p, mp, ip6, m)
struct ip6_hdr *ip6;
struct mbuf *m;
{
-#if __FreeBSD__ >= 5
+#if __FreeBSD_version >= 500000
struct thread *td = curthread; /* XXX */
#else
struct proc *td = curproc; /* XXX */
OpenPOWER on IntegriCloud