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>
This commit is contained in:
Bjoern A. Zeeb 2006-12-14 17:33:46 +00:00
parent 485720a6f8
commit 224c45c4f2
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=165222
2 changed files with 2 additions and 2 deletions

View File

@ -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) {

View File

@ -277,7 +277,7 @@ ipsec4_common_input_cb(struct mbuf *m, struct secasvar *sav,
struct tdb_ident *tdbi;
struct secasindex *saidx;
int error;
#if INET6
#ifdef INET6
#ifdef notyet
char ip6buf[INET6_ADDRSTRLEN];
#endif