diff --git a/sys/netinet/tcp_timewait.c b/sys/netinet/tcp_timewait.c index 38dfcf30d9a0..823786c57054 100644 --- a/sys/netinet/tcp_timewait.c +++ b/sys/netinet/tcp_timewait.c @@ -244,12 +244,12 @@ tcp_twstart(struct tcpcb *tp) #ifdef INET6 if (isipv6) local = in6_localaddr(&inp->in6p_faddr); -#endif -#if defined(INET6) && defined(INET) else #endif #ifdef INET local = in_localip(inp->inp_faddr); +#else + local = false; #endif } else local = false;