summaryrefslogtreecommitdiff
path: root/sys/netinet/tcp_subr.c
diff options
context:
space:
mode:
authorYoshinobu Inoue <shin@FreeBSD.org>2000-01-13 05:18:30 +0000
committerYoshinobu Inoue <shin@FreeBSD.org>2000-01-13 05:18:30 +0000
commit72e174286c1fd72f473277dc0b184715553eb70e (patch)
treed55f2c98735fca90122538790e371d3ccfa3bd6a /sys/netinet/tcp_subr.c
parent23ecf4b562bba68da606edc8e9cf4060752d739f (diff)
Notes
Diffstat (limited to 'sys/netinet/tcp_subr.c')
-rw-r--r--sys/netinet/tcp_subr.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/netinet/tcp_subr.c b/sys/netinet/tcp_subr.c
index 806ec5b48334..811f34c0d730 100644
--- a/sys/netinet/tcp_subr.c
+++ b/sys/netinet/tcp_subr.c
@@ -418,7 +418,6 @@ tcp_respond(tp, ipgen, th, m, ack, seq, flags)
nth->th_sum = in6_cksum(m, IPPROTO_TCP,
sizeof(struct ip6_hdr),
tlen - sizeof(struct ip6_hdr));
- ip6->ip6_plen = htons((u_short)tlen);
ip6->ip6_hlim = in6_selecthlim(tp ? tp->t_inpcb : NULL,
ro6 && ro6->ro_rt ?
ro6->ro_rt->rt_ifp :