]> git.saurik.com Git - apple/xnu.git/blobdiff - bsd/netinet6/mld6.c
xnu-1504.3.12.tar.gz
[apple/xnu.git] / bsd / netinet6 / mld6.c
index 36e09c8b8264e3b7e6d5e2bbebd9a22e1dc4e0f8..7e9a882e87e1f7341126fdb480b5413b9340e706 100644 (file)
@@ -499,7 +499,11 @@ mld6_sendpkt(
         * Request loopback of the report if we are acting as a multicast
         * router, so that the process-level routing daemon can hear it.
         */
+#if MROUTING
        im6o.im6o_multicast_loop = (ip6_mrouter != NULL);
+#else
+       im6o.im6o_multicast_loop = 0;
+#endif
 
        /* increment output statictics */
        icmp6stat.icp6s_outhist[type]++;