diff options
author | hrs <hrs@FreeBSD.org> | 2012-10-29 06:31:51 +0000 |
---|---|---|
committer | hrs <hrs@FreeBSD.org> | 2012-10-29 06:31:51 +0000 |
commit | b2713d8866fc6705efa00bbd3d65c92be216230d (patch) | |
tree | 2aeabf11d1af36c9806482df718ba6ed107e5d75 | |
parent | 77582e8298a329afe130b4707b2f655de8f47469 (diff) | |
download | FreeBSD-src-b2713d8866fc6705efa00bbd3d65c92be216230d.zip FreeBSD-src-b2713d8866fc6705efa00bbd3d65c92be216230d.tar.gz |
Load ipdivert.ko when natd_enable=YES.
PR: conf/167566
-rwxr-xr-x | etc/rc.d/ipfw | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/etc/rc.d/ipfw b/etc/rc.d/ipfw index 625d07d..f405832 100755 --- a/etc/rc.d/ipfw +++ b/etc/rc.d/ipfw @@ -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 } |