summaryrefslogtreecommitdiffstats
path: root/sys/netpfil
diff options
context:
space:
mode:
authortrociny <trociny@FreeBSD.org>2014-05-02 14:44:17 +0000
committertrociny <trociny@FreeBSD.org>2014-05-02 14:44:17 +0000
commit4d8a3153dbe2e0879eb16895c8b510cfcd23e654 (patch)
tree79c64eba30395cc68620466069c64be9718de48b /sys/netpfil
parent02f351fb3511af9be85faab18b2d9627bbfbb9b0 (diff)
downloadFreeBSD-src-4d8a3153dbe2e0879eb16895c8b510cfcd23e654.zip
FreeBSD-src-4d8a3153dbe2e0879eb16895c8b510cfcd23e654.tar.gz
MFC r264963:
Define startup order the same way as it is in dummynet.
Diffstat (limited to 'sys/netpfil')
-rw-r--r--sys/netpfil/ipfw/ip_fw_nat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netpfil/ipfw/ip_fw_nat.c b/sys/netpfil/ipfw/ip_fw_nat.c
index d4348b5..70e3647 100644
--- a/sys/netpfil/ipfw/ip_fw_nat.c
+++ b/sys/netpfil/ipfw/ip_fw_nat.c
@@ -674,8 +674,8 @@ static moduledata_t ipfw_nat_mod = {
};
/* Define startup order. */
-#define IPFW_NAT_SI_SUB_FIREWALL (SI_SUB_PROTO_IFATTACHDOMAIN + 1)
-#define IPFW_NAT_MODEVENT_ORDER (SI_ORDER_ANY - 255)
+#define IPFW_NAT_SI_SUB_FIREWALL SI_SUB_PROTO_IFATTACHDOMAIN
+#define IPFW_NAT_MODEVENT_ORDER (SI_ORDER_ANY - 128) /* after ipfw */
#define IPFW_NAT_MODULE_ORDER (IPFW_NAT_MODEVENT_ORDER + 1)
#define IPFW_NAT_VNET_ORDER (IPFW_NAT_MODEVENT_ORDER + 2)
OpenPOWER on IntegriCloud