Generate distinct progress messages for IPv4 and IPv6 filters

This commit is contained in:
Tom Eastep 2010-11-14 07:38:01 -08:00
parent ff571cb83b
commit 5bae689fe1

View File

@ -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 '';