Load ipdivert.ko when natd_enable=YES.

PR:	conf/167566
This commit is contained in:
Hiroki Sato 2012-10-29 06:31:51 +00:00
parent 081a488159
commit 859aa11dce

View File

@ -25,11 +25,11 @@ ipfw_prestart()
if checkyesno dummynet_enable; then
required_modules="$required_modules dummynet"
fi
if checkyesno natd_enable; then
required_modules="$required_modules ipdivert"
fi
if checkyesno firewall_nat_enable; then
if ! checkyesno natd_enable; then
required_modules="$required_modules ipfw_nat"
fi
required_modules="$required_modules ipfw_nat"
fi
}