forked from extern/shorewall_code
Generate distinct progress messages for IPv4 and IPv6 filters
This commit is contained in:
parent
ff571cb83b
commit
5bae689fe1
@ -1164,11 +1164,20 @@ sub process_tc_filter() {
|
||||
|
||||
emit '';
|
||||
|
||||
progress_message " TC Filter \"$currentline\" $done";
|
||||
if ( $family == F_IPV4 ) {
|
||||
|
||||
progress_message " IPv4 TC Filter \"$currentline\" $done";
|
||||
|
||||
$currentline =~ s/\s+/ /g;
|
||||
|
||||
save_progress_message_short qq(' TC Filter \"$currentline\" defined.');
|
||||
save_progress_message_short qq(' IPv4 TC Filter \"$currentline\" defined.');
|
||||
} else {
|
||||
progress_message " IPv6 TC Filter \"$currentline\" $done";
|
||||
|
||||
$currentline =~ s/\s+/ /g;
|
||||
|
||||
save_progress_message_short qq(' IPv6 TC Filter \"$currentline\" defined.');
|
||||
}
|
||||
|
||||
emit '';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user