diff options
| author | Bjoern A. Zeeb <bz@FreeBSD.org> | 2008-11-27 13:19:42 +0000 |
|---|---|---|
| committer | Bjoern A. Zeeb <bz@FreeBSD.org> | 2008-11-27 13:19:42 +0000 |
| commit | 5cd54324eeeb8ad40870bae3627758b0e7848c3e (patch) | |
| tree | a104aed3e0fc66bba0d6cbc8634b89849f0e476a /sys/netinet/tcp_output.c | |
| parent | 6aee2fc550d27a19446cf586f4aec7f7eb6743b2 (diff) | |
Notes
Diffstat (limited to 'sys/netinet/tcp_output.c')
| -rw-r--r-- | sys/netinet/tcp_output.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/tcp_output.c b/sys/netinet/tcp_output.c index ab92905a1c29..d93592b439c5 100644 --- a/sys/netinet/tcp_output.c +++ b/sys/netinet/tcp_output.c @@ -1172,7 +1172,7 @@ timer: { ip->ip_len = m->m_pkthdr.len; #ifdef INET6 - if (INP_CHECK_SOCKAF(so, AF_INET6)) + if (tp->t_inpcb->inp_vflag & INP_IPV6PROTO) ip->ip_ttl = in6_selecthlim(tp->t_inpcb, NULL); #endif /* INET6 */ /* |
