conf/148137
Ceri Davies
ceri at submonkey.net
Wed Dec 22 23:10:13 UTC 2010
The following reply was made to PR conf/148137; it has been noted by GNATS.
From: Ceri Davies <ceri at submonkey.net>
To: FreeBSD Gnats Submit <freebsd-gnats-submit at FreeBSD.org>
Cc:
Subject: conf/148137
Date: Wed, 22 Dec 2010 22:48:39 +0000
--6c2NcOVqGQ03X4Wi
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
This still seems to be a problem in 7.4-PRERELEASE too; the attached
patch seems to fix it here.
Ceri
--6c2NcOVqGQ03X4Wi
Content-Type: text/x-diff; charset=us-ascii
Content-Disposition: attachment; filename="148137.diff"
--- src/etc/rc.d/ipfw 2010-12-04 12:27:32.000000000 +0000
+++ /etc/rc.d/ipfw 2010-12-22 19:38:14.000000000 +0000
@@ -34,10 +34,19 @@
ipfw_start()
{
+ local _coscript
local _firewall_type
_firewall_type=$1
+ # Start firewall coscripts
+ #
+ for _coscript in ${firewall_coscripts} ; do
+ if [ -f "${_coscript}" ]; then
+ ${_coscript} quietstart
+ fi
+ done
+
# set the firewall rules script if none was specified
[ -z "${firewall_script}" ] && firewall_script=/etc/rc.firewall
@@ -60,16 +69,6 @@
ipfw_poststart()
{
- local _coscript
-
- # Start firewall coscripts
- #
- for _coscript in ${firewall_coscripts} ; do
- if [ -f "${_coscript}" ]; then
- ${_coscript} quietstart
- fi
- done
-
# Enable the firewall
#
${SYSCTL_W} net.inet.ip.fw.enable=1
--6c2NcOVqGQ03X4Wi--
More information about the freebsd-ipfw
mailing list