mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-22 23:53:30 +01:00
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:
parent
d857725333
commit
7c1c859eae
@ -449,7 +449,7 @@ sub setup_traffic_shaping() {
|
||||
|
||||
$defmark = "${prefix}${defmark}" if $defmark;
|
||||
|
||||
emit "if interface_is_usable $device; then";
|
||||
emit "if interface_is_up $device; then";
|
||||
|
||||
push_indent;
|
||||
|
||||
@ -478,7 +478,7 @@ sub setup_traffic_shaping() {
|
||||
emit 'else';
|
||||
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=";
|
||||
pop_indent;
|
||||
emit "fi\n";
|
||||
|
Loading…
Reference in New Issue
Block a user