diff options
author | pjd <pjd@FreeBSD.org> | 2006-06-04 19:32:32 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2006-06-04 19:32:32 +0000 |
commit | 501751fbc7b2af470f10aeec5b6c1bfaa56d9ea2 (patch) | |
tree | 167cb1bb8a2d3fe837c16d1cda45260fe151053c /sys/netipsec/ipsec_input.c | |
parent | 4f755f5871cc77a711b179f14f52643de1d5b955 (diff) | |
download | FreeBSD-src-501751fbc7b2af470f10aeec5b6c1bfaa56d9ea2.zip FreeBSD-src-501751fbc7b2af470f10aeec5b6c1bfaa56d9ea2.tar.gz |
Change '#if INET' and '#if INET6' to '#ifdef INET' and '#ifdef INET6'.
This unbreaks compiling a kernel with FAST_IPSEC and no INET6.
Diffstat (limited to 'sys/netipsec/ipsec_input.c')
-rw-r--r-- | sys/netipsec/ipsec_input.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netipsec/ipsec_input.c b/sys/netipsec/ipsec_input.c index 01f6974..753b78a 100644 --- a/sys/netipsec/ipsec_input.c +++ b/sys/netipsec/ipsec_input.c @@ -365,7 +365,7 @@ ipsec4_common_input_cb(struct mbuf *m, struct secasvar *sav, goto bad; } } -#if INET6 +#ifdef INET6 /* IPv6-in-IP encapsulation. */ if (prot == IPPROTO_IPV6) { struct ip6_hdr ip6n; |