[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-ipfw
Subject:    conf/148137
From:       Ceri Davies <ceri () submonkey ! net>
Date:       2010-12-22 23:10:12
Message-ID: 201012222310.oBMNAC3K065828 () freefall ! freebsd ! org
[Download RAW message or body]

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--
_______________________________________________
freebsd-ipfw@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ipfw
To unsubscribe, send any mail to "freebsd-ipfw-unsubscribe@freebsd.org"
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic