diff options
author | 2004-02-11 20:12:33 +0000 | |
---|---|---|
committer | 2004-02-11 20:12:33 +0000 | |
commit | 0b4f6128719b940d880dadfdbae3776885159986 (patch) | |
tree | 1d2eabbd87d5f4ea806504bf32df1f73f1528b01 /sys/netinet/tcp_input.c | |
parent | sort sysctls; (diff) | |
download | wireguard-openbsd-0b4f6128719b940d880dadfdbae3776885159986.tar.xz wireguard-openbsd-0b4f6128719b940d880dadfdbae3776885159986.zip |
make mss signed; avoids large mss if ifp==NULL; ok itojun@
Diffstat (limited to 'sys/netinet/tcp_input.c')
-rw-r--r-- | sys/netinet/tcp_input.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/tcp_input.c b/sys/netinet/tcp_input.c index 7a7143237e9..f97c74cf018 100644 --- a/sys/netinet/tcp_input.c +++ b/sys/netinet/tcp_input.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tcp_input.c,v 1.154 2004/02/10 10:30:24 markus Exp $ */ +/* $OpenBSD: tcp_input.c,v 1.155 2004/02/11 20:12:33 markus Exp $ */ /* $NetBSD: tcp_input.c,v 1.23 1996/02/13 23:43:44 christos Exp $ */ /* @@ -3260,7 +3260,7 @@ tcp_newreno(tp, th) static int tcp_mss_adv(struct ifnet *ifp, int af) { - u_int16_t mss = 0; + int mss = 0; int iphlen; switch (af) { |