summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortrociny <trociny@FreeBSD.org>2014-04-26 08:05:16 +0000
committertrociny <trociny@FreeBSD.org>2014-04-26 08:05:16 +0000
commitbd951d3fdb4abf70cb951c0e22a5448aaa98fede (patch)
tree4b9aed3d444c7c13081feb9ff67afcbe705a2a76
parent69c3e6933b6946c49fe99b19986f018d71621980 (diff)
downloadFreeBSD-src-bd951d3fdb4abf70cb951c0e22a5448aaa98fede.zip
FreeBSD-src-bd951d3fdb4abf70cb951c0e22a5448aaa98fede.tar.gz
Define startup order the same way as it is in dummynet.
-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 427a55e..54507ba 100644
--- a/sys/netpfil/ipfw/ip_fw_nat.c
+++ b/sys/netpfil/ipfw/ip_fw_nat.c
@@ -676,8 +676,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