forked from extern/shorewall_code
No need to import FW
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@5797 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
40a270fcd0
commit
7b3af346e8
@ -630,7 +630,6 @@ sub determine_capabilities() {
|
||||
system( "$iptables -X fooX1234 > /dev/null 2>&1" );
|
||||
}
|
||||
|
||||
|
||||
sub require_capability( $$ ) {
|
||||
my ( $capability, $description ) = @_;
|
||||
|
||||
|
@ -225,6 +225,7 @@ sub determine_zones()
|
||||
fatal_error 'Firewall zone may not be nested' if @parents;
|
||||
fatal_error "Only one firewall zone may be defined: $zone" if $firewall_zone;
|
||||
$firewall_zone = $zone;
|
||||
$ENV{FW} = $zone;
|
||||
$zoneref->{type} = "firewall";
|
||||
} elsif ( $type eq '-' ) {
|
||||
$type = $zoneref->{type} = 'ipv4';
|
||||
|
@ -32,7 +32,6 @@
|
||||
# SHOREWALL_DIR A directory name was passed to /sbin/shorewall
|
||||
# VERBOSE Standard Shorewall verbosity control.
|
||||
# TIMESTAMP=Yes -t option specified to /sbin/shorewall
|
||||
# FW Firewall zone (for shell-variable expansion).
|
||||
#
|
||||
# This program performs rudimentary shell variable expansion on action and macro files.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user