forked from extern/shorewall_code
Fix AUTOCOMMENT=No
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
9da507ae98
commit
a33cf5cc91
@ -725,7 +725,7 @@ sub set_comment( $ ) {
|
|||||||
sub macro_comment( $ ) {
|
sub macro_comment( $ ) {
|
||||||
my $macro = $_[0];
|
my $macro = $_[0];
|
||||||
|
|
||||||
$comment = $macro unless $comment || ! ( have_capability( 'COMMENTS' ) && $config{AUTO_COMMENT} );
|
$comment = $macro unless $comment || ! ( have_capability( 'COMMENTS' ) && $config{AUTOCOMMENT} );
|
||||||
}
|
}
|
||||||
|
|
||||||
#
|
#
|
||||||
|
@ -4595,7 +4595,7 @@ sub get_configuration( $$$ ) {
|
|||||||
default_yes_no 'EXPAND_POLICIES' , '';
|
default_yes_no 'EXPAND_POLICIES' , '';
|
||||||
default_yes_no 'KEEP_RT_TABLES' , '';
|
default_yes_no 'KEEP_RT_TABLES' , '';
|
||||||
default_yes_no 'DELETE_THEN_ADD' , 'Yes';
|
default_yes_no 'DELETE_THEN_ADD' , 'Yes';
|
||||||
default_yes_no 'AUTO_COMMENT' , 'Yes';
|
default_yes_no 'AUTOCOMMENT' , 'Yes';
|
||||||
default_yes_no 'MULTICAST' , '';
|
default_yes_no 'MULTICAST' , '';
|
||||||
default_yes_no 'MARK_IN_FORWARD_CHAIN' , '';
|
default_yes_no 'MARK_IN_FORWARD_CHAIN' , '';
|
||||||
default_yes_no 'MANGLE_ENABLED' , have_capability 'MANGLE_ENABLED' ? 'Yes' : '';
|
default_yes_no 'MANGLE_ENABLED' , have_capability 'MANGLE_ENABLED' ? 'Yes' : '';
|
||||||
|
Loading…
Reference in New Issue
Block a user