summaryrefslogtreecommitdiff
path: root/src/conf_mode
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2024-08-09 09:42:31 +0100
committerGitHub <noreply@github.com>2024-08-09 09:42:31 +0100
commitbe27b8932161b403dfad2551ce791059ff1f3925 (patch)
tree28dfdcacc73210ab4d5ced30359a85695a14a748 /src/conf_mode
parent7b9d5f016624a4811de326568d6ca93cf073aef0 (diff)
parented63c9d1896a218715e13e1799fc059f4561f75e (diff)
downloadvyos-1x-be27b8932161b403dfad2551ce791059ff1f3925.tar.gz
vyos-1x-be27b8932161b403dfad2551ce791059ff1f3925.zip
Merge pull request #3960 from jestabro/verify-interface-state-exists
qos: T6638: require interface state existence in verify conditional
Diffstat (limited to 'src/conf_mode')
-rwxr-xr-xsrc/conf_mode/qos.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/qos.py b/src/conf_mode/qos.py
index 45248fb4a..464d7c192 100755
--- a/src/conf_mode/qos.py
+++ b/src/conf_mode/qos.py
@@ -303,7 +303,7 @@ def apply(qos):
return None
for interface, interface_config in qos['interface'].items():
- if not verify_interface_exists(interface, warning_only=True):
+ if not verify_interface_exists(interface, state_required=True, warning_only=True):
# When shaper is bound to a dialup (e.g. PPPoE) interface it is
# possible that it is yet not availbale when to QoS code runs.
# Skip the configuration and inform the user via warning_only=True