Fix ADDRESSES = 'detect' on optional interface -- Take 2

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6147 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2007-04-28 15:08:17 +00:00
parent f22fc6575e
commit fbec94e465
2 changed files with 2 additions and 1 deletions

View File

@ -257,7 +257,7 @@ sub push_cmd_mode( $ ) {
$_[0]->{cmdcount}++;
}
sub pop_cmd_mode() {
sub pop_cmd_mode( $ ) {
fatal_error "Internal error in pop_cmd_mode()" if --$_[0]->{cmdcount} < 0;
}

View File

@ -28,6 +28,7 @@ require Exporter;
use Shorewall::Common;
use Shorewall::Config;
use Shorewall::Zones;
use Shorewall::Interfaces;
use Shorewall::Chains;
use Shorewall::IPAddrs;