summaryrefslogtreecommitdiffstats
path: root/sys/netipsec/ipsec.c
diff options
context:
space:
mode:
authorbz <bz@FreeBSD.org>2006-12-14 17:33:46 +0000
committerbz <bz@FreeBSD.org>2006-12-14 17:33:46 +0000
commit762d6693b66e0de16691f6627f55ebe4c4e93073 (patch)
treee8fdc9f5c6ffd1b697328dd5664e1d6d9c821303 /sys/netipsec/ipsec.c
parent675ebda1f65c51fec32aebacf8a899fe26d47358 (diff)
downloadFreeBSD-src-762d6693b66e0de16691f6627f55ebe4c4e93073.zip
FreeBSD-src-762d6693b66e0de16691f6627f55ebe4c4e93073.tar.gz
s,#if INET6,#ifdef INET6,
This unbreaks the build for FAST_IPSEC && !INET6 and was wrong anyway. Reported by: Dmitry Pryanishnikov <dmitry atlantis.dp.ua>
Diffstat (limited to 'sys/netipsec/ipsec.c')
-rw-r--r--sys/netipsec/ipsec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netipsec/ipsec.c b/sys/netipsec/ipsec.c
index 7f604ed..65a53c0 100644
--- a/sys/netipsec/ipsec.c
+++ b/sys/netipsec/ipsec.c
@@ -1843,7 +1843,7 @@ inet_ntoa4(struct in_addr ina)
char *
ipsec_address(union sockaddr_union* sa)
{
-#if INET6
+#ifdef INET6
char ip6buf[INET6_ADDRSTRLEN];
#endif
switch (sa->sa.sa_family) {
OpenPOWER on IntegriCloud