mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-27 01:53:27 +01:00
Fix a few more bugs
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@9112 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
27e9f4e706
commit
9be975933b
@ -888,7 +888,7 @@ sub compiler {
|
||||
${$ref->{store}} = $val;
|
||||
}
|
||||
|
||||
reinitialize if ++$reused || $family == F_IPV6;
|
||||
reinitialize if $reused++ || $family == F_IPV6;
|
||||
|
||||
if ( $directory ne '' ) {
|
||||
fatal_error "$directory is not an existing directory" unless -d $directory;
|
||||
|
@ -2044,7 +2044,7 @@ sub get_configuration( $ ) {
|
||||
if ( $family == F_IPV4 ) {
|
||||
check_trivalue ( 'LOG_MARTIANS', 'on' );
|
||||
} else {
|
||||
check_trivalue ( 'LOG_MARTIANS', 'ff' );
|
||||
check_trivalue ( 'LOG_MARTIANS', 'off' );
|
||||
fatal_error "LOG_MARTIANS=On is not supported in IPv6" if $config{LOG_MARTIANS} eq 'on';
|
||||
}
|
||||
|
||||
|
@ -360,7 +360,7 @@ sub add_a_provider( $$$$$$$$ ) {
|
||||
if ( $loose ) {
|
||||
if ( $config{DELETE_THEN_ADD} ) {
|
||||
emit ( "\nfind_interface_addresses $interface | while read address; do",
|
||||
" qt ip $family rule del from $address",
|
||||
" qt ip -$family rule del from $address",
|
||||
'done'
|
||||
);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user