diff options
author | bz <bz@FreeBSD.org> | 2009-06-10 19:25:46 +0000 |
---|---|---|
committer | bz <bz@FreeBSD.org> | 2009-06-10 19:25:46 +0000 |
commit | 86d0c6ee3de8b19b272f9201dc302405feccbd7a (patch) | |
tree | 9b72dbfa26ce9e7a931943193c3e0f65f1a91d4a /sys/netipsec/ipsec_input.c | |
parent | 72ecca2c268bc360ea02c2241bf2426bf22d443b (diff) | |
download | FreeBSD-src-86d0c6ee3de8b19b272f9201dc302405feccbd7a.zip FreeBSD-src-86d0c6ee3de8b19b272f9201dc302405feccbd7a.tar.gz |
Properly hide IPv4 only variables and functions under #ifdef INET.
Diffstat (limited to 'sys/netipsec/ipsec_input.c')
-rw-r--r-- | sys/netipsec/ipsec_input.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/netipsec/ipsec_input.c b/sys/netipsec/ipsec_input.c index 62ded7b..ce6b060 100644 --- a/sys/netipsec/ipsec_input.c +++ b/sys/netipsec/ipsec_input.c @@ -103,7 +103,9 @@ #define IPSEC_ISTAT(p,x,y,z) ((p) == IPPROTO_ESP ? (x)++ : \ (p) == IPPROTO_AH ? (y)++ : (z)++) +#ifdef INET static void ipsec4_common_ctlinput(int, struct sockaddr *, void *, int); +#endif /* * ipsec_common_input gets called when an IPsec-protected packet |