Commit 2ec9be6d authored by Steve Kemp's avatar Steve Kemp
Browse files

Don't re-run the firewall unless the whitelist made a real change.

parent 1077665f
......@@ -149,12 +149,11 @@ end
#
# Finally re-run the firewall if we updated, or if we removed
# an expired entry.
# Re-run the firewall if we updated, or if we expired an existing entry.
#
if ( ( updated ) || ( expired ) )
if ( ( updated ) || ( expired > 0 ) )
puts "Updated whitelist, re-running firewall" if ( $VERBOSE )
puts "Something changed: Re-running firewall" if ( $VERBOSE )
system( "/usr/bin/firewall >>/var/log/firewall.log 2>>/var/log/firewall.err" )
end
symbiosis-firewall (2010:0915) stable; urgency=low
* Don't re-run the firewall unless we've genuinely removed
a whitelisted entry, or added a new one.
-- Steve Kemp <steve@bytemark.co.uk> Wed, 15 Sep 2010 17:18:19 +0000
symbiosis-firewall (2010:0910) stable; urgency=low
* Correctly process whitelisted IP addresses.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment