diff options
author | Chris Cappuccio <chris@cvs.openbsd.org> | 2000-10-18 20:35:22 +0000 |
---|---|---|
committer | Chris Cappuccio <chris@cvs.openbsd.org> | 2000-10-18 20:35:22 +0000 |
commit | 2b1b090938b4853731a38139e05ce8a1a0b0a487 (patch) | |
tree | 17838160dd258b65c90e3f156ab396df20a54617 /sys/netinet/ip_spd.c | |
parent | 8a2915bcbe1609bf0bf46acd6fa5788a0ab8ad81 (diff) |
Fix compile error if lacking -DINET6
Diffstat (limited to 'sys/netinet/ip_spd.c')
-rw-r--r-- | sys/netinet/ip_spd.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/netinet/ip_spd.c b/sys/netinet/ip_spd.c index 2ab086b5256..4aa8d373fd5 100644 --- a/sys/netinet/ip_spd.c +++ b/sys/netinet/ip_spd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ip_spd.c,v 1.5 2000/10/14 06:23:52 angelos Exp $ */ +/* $OpenBSD: ip_spd.c,v 1.6 2000/10/18 20:35:21 chris Exp $ */ /* * The author of this code is Angelos D. Keromytis (angelos@cis.upenn.edu) @@ -815,7 +815,9 @@ ipsp_acquire_sa(struct ipsec_policy *ipo, union sockaddr_union *gw, union sockaddr_union *laddr, struct sockaddr_encap *ddst) { struct ipsec_acquire *ipa; +#ifdef INET6 int i; +#endif /* * Check whether request has been made already. |