Clear device TC on 'disable'

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2011-08-27 12:33:24 -07:00
parent ed7d70e54b
commit 90f83fd9fd

View File

@ -634,8 +634,11 @@ sub add_a_provider( $ ) {
emit( qq( delete_gateway "$via" ) . $tbl );
}
emit( '',
" qt \$TC qdisc del dev $physical root",
" qt \$TC qdisc del dev $physical ingress\n" ) if $tcdevices->{$interface};
emit( " progress_message2 \"Provider $table stopped\"",
'else',
" startup_error \"$undo does not exist\"",