diff options
author | suz <suz@FreeBSD.org> | 2003-12-17 04:31:07 +0000 |
---|---|---|
committer | suz <suz@FreeBSD.org> | 2003-12-17 04:31:07 +0000 |
commit | 3c416f8489abfb4977a54d30acbaaf51d15dfdd7 (patch) | |
tree | c3b7371cdc438278b0abde8c0d5369336e1f77fb /sys | |
parent | c3e69cc92e659566d06737402c8ce9c2f8d5eb67 (diff) | |
download | FreeBSD-src-3c416f8489abfb4977a54d30acbaaf51d15dfdd7.zip FreeBSD-src-3c416f8489abfb4977a54d30acbaaf51d15dfdd7.tar.gz |
fixed an IPv6 path MTU discovery failure owing to a lack of initialization
Reviewed by: ume
Approved by: re (scottl)
MFC after: 1 day
Diffstat (limited to 'sys')
-rw-r--r-- | sys/netinet6/ip6_output.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet6/ip6_output.c b/sys/netinet6/ip6_output.c index afc5f60..30eda32 100644 --- a/sys/netinet6/ip6_output.c +++ b/sys/netinet6/ip6_output.c @@ -200,6 +200,7 @@ ip6_output(m0, opt, ro, flags, im6o, ifpp, inp) #endif /* IPSEC */ ip6 = mtod(m, struct ip6_hdr *); + finaldst = ip6->ip6_dst; #define MAKE_EXTHDR(hp, mp) \ do { \ @@ -496,7 +497,6 @@ skip_ipsec2:; struct ip6_rthdr0 *rh0; struct in6_addr *addrs; - finaldst = ip6->ip6_dst; switch (rh->ip6r_type) { case IPV6_RTHDR_TYPE_0: rh0 = (struct ip6_rthdr0 *)rh; |