]> git.saurik.com Git - apple/xnu.git/blobdiff - bsd/netinet6/ip6_output.c
xnu-792.25.20.tar.gz
[apple/xnu.git] / bsd / netinet6 / ip6_output.c
index c8b578e6cb2909510c5e76affc99c2f1cb4182b3..5693fbc17d6303937f035b128fd7310b2c04a59d 100644 (file)
@@ -427,6 +427,7 @@ ip6_output(
                                ipf_unref();
                                lck_mtx_lock(ip6_mutex);
                        }
+                       ip6 = mtod(m, struct ip6_hdr *);
                        /* Hack: cleanup embedded scope_id if we put it there */
                        if (fixscope)
                                ip6->ip6_dst.s6_addr16[1] = 0;