Load ipdivert.ko when natd_enable=YES.
PR: conf/167566
This commit is contained in:
parent
081a488159
commit
859aa11dce
@ -25,11 +25,11 @@ ipfw_prestart()
|
||||
if checkyesno dummynet_enable; then
|
||||
required_modules="$required_modules dummynet"
|
||||
fi
|
||||
|
||||
if checkyesno firewall_nat_enable; then
|
||||
if ! checkyesno natd_enable; then
|
||||
required_modules="$required_modules ipfw_nat"
|
||||
if checkyesno natd_enable; then
|
||||
required_modules="$required_modules ipdivert"
|
||||
fi
|
||||
if checkyesno firewall_nat_enable; then
|
||||
required_modules="$required_modules ipfw_nat"
|
||||
fi
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user