mirror of
https://gitlab.com/shorewall/code.git
synced 2025-02-02 02:49:54 +01:00
Change a warning message to make it consistent with others
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@5801 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
0685ec53cc
commit
d2f362e0b1
@ -700,7 +700,7 @@ sub get_configuration( $ ) {
|
||||
if ( $line =~ /^([a-zA-Z]\w*)=(.*)$/ ) {
|
||||
my ($var, $val) = ($1, $2);
|
||||
unless ( exists $capabilities{$var} ) {
|
||||
warning_message "Unknown capability \"$var\" ignored";
|
||||
warning_message "Unknown capability ($var) ignored";
|
||||
next;
|
||||
}
|
||||
|
||||
@ -711,9 +711,9 @@ sub get_configuration( $ ) {
|
||||
}
|
||||
|
||||
if ( $config{LOGRATE} || $config{LOGBURST} ) {
|
||||
$globals{LOGLIMIT} = '-m limit';
|
||||
$globals{LOGLIMIT} .= " --limit $config{LOGRATE}" if $config{LOGRATE};
|
||||
$globals{LOGLIMIT} .= " --limit-burst $config{LOGBURST}" if $config{LOGBURST};
|
||||
$globals{LOGLIMIT} = '-m limit';
|
||||
$globals{LOGLIMIT} .= " --limit $config{LOGRATE}" if $config{LOGRATE};
|
||||
$globals{LOGLIMIT} .= " --limit-burst $config{LOGBURST}" if $config{LOGBURST};
|
||||
} else {
|
||||
$globals{LOGLIMIT} = '';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user