svn commit: r253232 - stable/9/etc/rc.d
Hiroki Sato
hrs at FreeBSD.org
Fri Jul 12 01:12:28 UTC 2013
Author: hrs
Date: Fri Jul 12 01:12:28 2013
New Revision: 253232
URL: http://svnweb.freebsd.org/changeset/base/253232
Log:
MFC 242301:
Load ipdivert.ko when natd_enable=YES.
PR: conf/167566
Modified:
stable/9/etc/rc.d/ipfw
Directory Properties:
stable/9/etc/rc.d/ (props changed)
Modified: stable/9/etc/rc.d/ipfw
==============================================================================
--- stable/9/etc/rc.d/ipfw Fri Jul 12 01:08:12 2013 (r253231)
+++ stable/9/etc/rc.d/ipfw Fri Jul 12 01:12:28 2013 (r253232)
@@ -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
}
More information about the svn-src-stable-9
mailing list