diff options
| author | Xin LI <delphij@FreeBSD.org> | 2007-07-05 16:29:40 +0000 |
|---|---|---|
| committer | Xin LI <delphij@FreeBSD.org> | 2007-07-05 16:29:40 +0000 |
| commit | 2a463222be46a5f7ab718d440aa9cab6ecd50d56 (patch) | |
| tree | 0d5c02eb5ad8b661ab1f502bb251562a254ddc3d /sys/netinet6/udp6_output.c | |
| parent | 1272577e22d8f1c1c5b5e88f2624836e93aecb17 (diff) | |
Notes
Diffstat (limited to 'sys/netinet6/udp6_output.c')
| -rw-r--r-- | sys/netinet6/udp6_output.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet6/udp6_output.c b/sys/netinet6/udp6_output.c index 8189d1cdfc3f..74db8acec01f 100644 --- a/sys/netinet6/udp6_output.c +++ b/sys/netinet6/udp6_output.c @@ -290,8 +290,8 @@ udp6_output(struct in6pcb *in6p, struct mbuf *m, struct sockaddr *addr6, case AF_INET6: ip6 = mtod(m, struct ip6_hdr *); ip6->ip6_flow = in6p->in6p_flowinfo & IPV6_FLOWINFO_MASK; - ip6->ip6_vfc &= ~IPV6_VERSION_MASK; - ip6->ip6_vfc |= IPV6_VERSION; + ip6->ip6_vfc &= ~IPV6_VERSION_MASK; + ip6->ip6_vfc |= IPV6_VERSION; #if 0 /* ip6_plen will be filled in ip6_output. */ ip6->ip6_plen = htons((u_short)plen); #endif |
