mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-16 19:30:44 +01:00
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:
parent
f22fc6575e
commit
fbec94e465
@ -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;
|
||||
}
|
||||
|
||||
|
@ -28,6 +28,7 @@ require Exporter;
|
||||
use Shorewall::Common;
|
||||
use Shorewall::Config;
|
||||
use Shorewall::Zones;
|
||||
use Shorewall::Interfaces;
|
||||
use Shorewall::Chains;
|
||||
use Shorewall::IPAddrs;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user