Fix a mismerge from p4 in that in_localaddr() is not available without INET.
Sponsored by: The FreeBSD Foundation Sponsored by: iXsystems MFC after: 4 days
This commit is contained in:
parent
29bf94b8d8
commit
29bd2010d4
@ -370,7 +370,11 @@ cc_conn_init(struct tcpcb *tp)
|
||||
else if (isipv6 && in6_localaddr(&inp->in6p_faddr))
|
||||
tp->snd_cwnd = tp->t_maxseg * V_ss_fltsz_local;
|
||||
#endif
|
||||
#if defined(INET) || defined(INET6)
|
||||
#if defined(INET) && defined(INET6)
|
||||
else if (!isipv6 && in_localaddr(inp->inp_faddr))
|
||||
tp->snd_cwnd = tp->t_maxseg * V_ss_fltsz_local;
|
||||
#endif
|
||||
#ifdef INET
|
||||
else if (in_localaddr(inp->inp_faddr))
|
||||
tp->snd_cwnd = tp->t_maxseg * V_ss_fltsz_local;
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user