diff options
author | Niels Provos <provos@cvs.openbsd.org> | 2000-09-25 09:41:04 +0000 |
---|---|---|
committer | Niels Provos <provos@cvs.openbsd.org> | 2000-09-25 09:41:04 +0000 |
commit | 21ec68ea5cb480546e3029e7711a3058bd602541 (patch) | |
tree | d829e6c42ada204f7a9d701c47f371c135efc3f1 /sys/netinet/tcp_output.c | |
parent | 5d20f3bacaeefec3f807d34780c431ba952d1747 (diff) |
on expiry of pmtu route, retry higher mtu. okay angelos@
Diffstat (limited to 'sys/netinet/tcp_output.c')
-rw-r--r-- | sys/netinet/tcp_output.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/netinet/tcp_output.c b/sys/netinet/tcp_output.c index f1ab4a5ab05..63d9bd94111 100644 --- a/sys/netinet/tcp_output.c +++ b/sys/netinet/tcp_output.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tcp_output.c,v 1.33 2000/09/20 17:00:22 provos Exp $ */ +/* $OpenBSD: tcp_output.c,v 1.34 2000/09/25 09:41:03 provos Exp $ */ /* $NetBSD: tcp_output.c,v 1.16 1997/06/03 16:17:09 kml Exp $ */ /* @@ -512,8 +512,7 @@ send: opt[0] = TCPOPT_MAXSEG; opt[1] = 4; - mss = htons((u_int16_t) tcp_mss(tp, flags & TH_ACK ? - tp->t_maxopd : 0)); + mss = htons((u_int16_t) tcp_mss(tp, 0)); bcopy((caddr_t)&mss, (caddr_t)(opt + 2), sizeof(mss)); optlen = 4; |