]> git.saurik.com Git - apple/xnu.git/blobdiff - bsd/netinet6/ip6_forward.c
xnu-1504.15.3.tar.gz
[apple/xnu.git] / bsd / netinet6 / ip6_forward.c
index c9f7075f40a02dc89c529c3492492e4077bc4c13..202d8ccb1a9d90d175c59a3e6c91fb2a3b073022 100644 (file)
@@ -552,6 +552,7 @@ ip6_forward(struct mbuf *m, struct route_in6 *ip6forward_rt,
                type = ND_REDIRECT;
        }
 
+#if IPFW2
        /*
         * Check with the firewall...
         */
@@ -571,6 +572,7 @@ ip6_forward(struct mbuf *m, struct route_in6 *ip6forward_rt,
                /* We still have the extra ref on rt */
                RT_LOCK(rt);
        }
+#endif
 
        /*
         * Fake scoped addresses. Note that even link-local source or