diff options
-rw-r--r-- | sys/netinet/tcp_subr.c | 2 | ||||
-rw-r--r-- | sys/netinet/tcp_timewait.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/tcp_subr.c b/sys/netinet/tcp_subr.c index 66958c2..fbe02c1 100644 --- a/sys/netinet/tcp_subr.c +++ b/sys/netinet/tcp_subr.c @@ -393,7 +393,7 @@ tcp_respond(tp, ipgen, th, m, ack, seq, flags) ip6->ip6_plen = htons((u_short)(sizeof (struct tcphdr) + tlen)); tlen += sizeof (struct ip6_hdr) + sizeof (struct tcphdr); - } + } else #endif { ipov->ih_len = htons((u_short)(sizeof (struct tcphdr) + tlen)); diff --git a/sys/netinet/tcp_timewait.c b/sys/netinet/tcp_timewait.c index 66958c2..fbe02c1 100644 --- a/sys/netinet/tcp_timewait.c +++ b/sys/netinet/tcp_timewait.c @@ -393,7 +393,7 @@ tcp_respond(tp, ipgen, th, m, ack, seq, flags) ip6->ip6_plen = htons((u_short)(sizeof (struct tcphdr) + tlen)); tlen += sizeof (struct ip6_hdr) + sizeof (struct tcphdr); - } + } else #endif { ipov->ih_len = htons((u_short)(sizeof (struct tcphdr) + tlen)); |