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:
parent
485720a6f8
commit
224c45c4f2
@ -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) {
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user