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:
teastep 2007-04-01 22:13:27 +00:00
parent 0685ec53cc
commit d2f362e0b1

View File

@ -700,7 +700,7 @@ sub get_configuration( $ ) {
if ( $line =~ /^([a-zA-Z]\w*)=(.*)$/ ) { if ( $line =~ /^([a-zA-Z]\w*)=(.*)$/ ) {
my ($var, $val) = ($1, $2); my ($var, $val) = ($1, $2);
unless ( exists $capabilities{$var} ) { unless ( exists $capabilities{$var} ) {
warning_message "Unknown capability \"$var\" ignored"; warning_message "Unknown capability ($var) ignored";
next; next;
} }
@ -711,9 +711,9 @@ sub get_configuration( $ ) {
} }
if ( $config{LOGRATE} || $config{LOGBURST} ) { if ( $config{LOGRATE} || $config{LOGBURST} ) {
$globals{LOGLIMIT} = '-m limit'; $globals{LOGLIMIT} = '-m limit';
$globals{LOGLIMIT} .= " --limit $config{LOGRATE}" if $config{LOGRATE}; $globals{LOGLIMIT} .= " --limit $config{LOGRATE}" if $config{LOGRATE};
$globals{LOGLIMIT} .= " --limit-burst $config{LOGBURST}" if $config{LOGBURST}; $globals{LOGLIMIT} .= " --limit-burst $config{LOGBURST}" if $config{LOGBURST};
} else { } else {
$globals{LOGLIMIT} = ''; $globals{LOGLIMIT} = '';
} }