summaryrefslogtreecommitdiffstats
path: root/sys/netinet6/ip6_forward.c
diff options
context:
space:
mode:
authormlaier <mlaier@FreeBSD.org>2006-05-12 20:39:23 +0000
committermlaier <mlaier@FreeBSD.org>2006-05-12 20:39:23 +0000
commit123e91766b9a892556b2436bc59b9c6c5d6d8529 (patch)
treef4f22df7c476b68df1c6800d1b6306e9e02fa898 /sys/netinet6/ip6_forward.c
parentfeb912d35980d6573e945f8726a0a1df9128ec2b (diff)
downloadFreeBSD-src-123e91766b9a892556b2436bc59b9c6c5d6d8529.zip
FreeBSD-src-123e91766b9a892556b2436bc59b9c6c5d6d8529.tar.gz
Remove ip6fw. Since ipfw has full functional IPv6 support now and - in
contrast to ip6fw - is properly lockes, it is time to retire ip6fw.
Diffstat (limited to 'sys/netinet6/ip6_forward.c')
-rw-r--r--sys/netinet6/ip6_forward.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/sys/netinet6/ip6_forward.c b/sys/netinet6/ip6_forward.c
index 18f0312..3c7d354 100644
--- a/sys/netinet6/ip6_forward.c
+++ b/sys/netinet6/ip6_forward.c
@@ -30,7 +30,6 @@
* SUCH DAMAGE.
*/
-#include "opt_ip6fw.h"
#include "opt_inet.h"
#include "opt_inet6.h"
#include "opt_ipsec.h"
@@ -81,8 +80,6 @@
#define IPSEC
#endif /* FAST_IPSEC */
-#include <netinet6/ip6_fw.h>
-
#include <net/net_osdep.h>
#include <netinet6/ip6protosw.h>
@@ -555,20 +552,6 @@ ip6_forward(m, srcrt)
}
/*
- * Check with the firewall...
- */
- if (ip6_fw_enable && ip6_fw_chk_ptr) {
- u_short port = 0;
- /* If ipfw says divert, we have to just drop packet */
- if ((*ip6_fw_chk_ptr)(&ip6, rt->rt_ifp, &port, &m)) {
- m_freem(m);
- goto freecopy;
- }
- if (!m)
- goto freecopy;
- }
-
- /*
* Fake scoped addresses. Note that even link-local source or
* destinaion can appear, if the originating node just sends the
* packet to us (without address resolution for the destination).
OpenPOWER on IntegriCloud