X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/b0d623f7f2ae71ed96e60569f61f9a9a27016e80..060df5ea7c632b1ac8cc8aac1fb59758165c2084:/bsd/netinet6/ip6_forward.c diff --git a/bsd/netinet6/ip6_forward.c b/bsd/netinet6/ip6_forward.c index c9f7075f4..202d8ccb1 100644 --- a/bsd/netinet6/ip6_forward.c +++ b/bsd/netinet6/ip6_forward.c @@ -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