diff options
| author | Hajimu UMEMOTO <ume@FreeBSD.org> | 2002-02-04 17:37:06 +0000 |
|---|---|---|
| committer | Hajimu UMEMOTO <ume@FreeBSD.org> | 2002-02-04 17:37:06 +0000 |
| commit | c5993889d8c73a0c393532b34d260febaeb8d9b8 (patch) | |
| tree | c5357d851cbfa39303bb474325a7460facc15008 /sys/netinet/tcp_subr.c | |
| parent | 155d7b152988e1cf57df32331ef99f7d671f2f8d (diff) | |
Notes
Diffstat (limited to 'sys/netinet/tcp_subr.c')
| -rw-r--r-- | sys/netinet/tcp_subr.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/netinet/tcp_subr.c b/sys/netinet/tcp_subr.c index 27d54ebb405d..d79b816dea98 100644 --- a/sys/netinet/tcp_subr.c +++ b/sys/netinet/tcp_subr.c @@ -427,6 +427,9 @@ tcp_respond(tp, ipgen, th, m, ack, seq, flags) } #ifdef INET6 if (isipv6) { + ip6->ip6_flow = 0; + ip6->ip6_vfc = IPV6_VERSION; + ip6->ip6_nxt = IPPROTO_TCP; ip6->ip6_plen = htons((u_short)(sizeof (struct tcphdr) + tlen)); tlen += sizeof (struct ip6_hdr) + sizeof (struct tcphdr); |
