Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Dec 2010 23:10:12 GMT
From:      Ceri Davies <ceri@submonkey.net>
To:        freebsd-ipfw@FreeBSD.org
Subject:   conf/148137
Message-ID:  <201012222310.oBMNAC3K065828@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR conf/148137; it has been noted by GNATS.

From: Ceri Davies <ceri@submonkey.net>
To: FreeBSD Gnats Submit <freebsd-gnats-submit@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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201012222310.oBMNAC3K065828>