1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-17 10:26:15 +00:00

Define startup order the same way as it is in dummynet.

This commit is contained in:
Mikolaj Golub 2014-04-26 08:05:16 +00:00
parent 8be1b6d975
commit 8a477d48e0
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=264963

View File

@ -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)