Allow TC configuration on a bridge port

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@7041 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2007-08-03 18:48:56 +00:00
parent d857725333
commit 7c1c859eae

View File

@ -449,7 +449,7 @@ sub setup_traffic_shaping() {
$defmark = "${prefix}${defmark}" if $defmark; $defmark = "${prefix}${defmark}" if $defmark;
emit "if interface_is_usable $device; then"; emit "if interface_is_up $device; then";
push_indent; push_indent;
@ -478,7 +478,7 @@ sub setup_traffic_shaping() {
emit 'else'; emit 'else';
push_indent; push_indent;
emit qq(error_message "WARNING: Device $device not up and configured -- traffic-shaping configuration skipped"); emit qq(error_message "WARNING: Device $device is not in the UP state -- traffic-shaping configuration skipped");
emit "${dev}_exists="; emit "${dev}_exists=";
pop_indent; pop_indent;
emit "fi\n"; emit "fi\n";