Date: Mon, 29 Oct 2012 06:31:52 +0000 (UTC) From: Hiroki Sato <hrs@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r242301 - head/etc/rc.d Message-ID: <201210290631.q9T6VqbC097165@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: hrs Date: Mon Oct 29 06:31:51 2012 New Revision: 242301 URL: http://svn.freebsd.org/changeset/base/242301 Log: Load ipdivert.ko when natd_enable=YES. PR: conf/167566 Modified: head/etc/rc.d/ipfw Modified: head/etc/rc.d/ipfw ============================================================================== --- head/etc/rc.d/ipfw Mon Oct 29 06:15:04 2012 (r242300) +++ head/etc/rc.d/ipfw Mon Oct 29 06:31:51 2012 (r242301) @@ -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 }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210290631.q9T6VqbC097165>