diff options
| author | Hajimu UMEMOTO <ume@FreeBSD.org> | 2003-10-20 16:19:01 +0000 |
|---|---|---|
| committer | Hajimu UMEMOTO <ume@FreeBSD.org> | 2003-10-20 16:19:01 +0000 |
| commit | b339980338e3fab70b160e8e34a0673023a811f2 (patch) | |
| tree | 077920c8eb9912bc075a0710bb260a1cf20f4faf /sys/netinet/tcp_input.c | |
| parent | 111b0d0d298207ebbb279f437bbaa88060af0374 (diff) | |
Notes
Diffstat (limited to 'sys/netinet/tcp_input.c')
| -rw-r--r-- | sys/netinet/tcp_input.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/netinet/tcp_input.c b/sys/netinet/tcp_input.c index a72906a4b9c2..4d0beb2ee9e1 100644 --- a/sys/netinet/tcp_input.c +++ b/sys/netinet/tcp_input.c @@ -2717,13 +2717,14 @@ tcp_mss(tp, offer) #else mss = ifp->if_mtu - min_protoh; #endif +#ifdef INET6 if (isipv6) { if (!in6_localaddr(&inp->in6p_faddr)) mss = min(mss, tcp_v6mssdflt); - } else { + } else +#endif if (!in_localaddr(inp->inp_faddr)) mss = min(mss, tcp_mssdflt); - } } mss = min(mss, offer); /* |
