Add a warning message when an entire table is reloaded

This commit is contained in:
Tom Eastep 2011-05-16 16:29:38 -07:00
parent 6d29a974dd
commit 6c0bc5aae5

View File

@ -4734,7 +4734,7 @@ sub create_chainlist_reload($) {
fatal_error "Built-in chains may not be refreshed" if $chainref->{builtin};
if ( $chainseq{$table} && @{$chainref->{rules}} ) {
$tables{$table} = 1;
warning_message "The entire $table table will be refreshed" unless $tables{$table}++;
} else {
$chains{$table}{$chain} = $chainref;
}