summaryrefslogtreecommitdiff
path: root/python/vyos
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2023-01-23 16:25:50 +0000
committerDaniil Baturin <daniil@baturin.org>2023-01-23 16:25:50 +0000
commit9d2646ef2c8228f92baf646814f1f8f1b4e7d09a (patch)
treef7965c27aebfb0be6eb5c3716f2ff2b8e4f3684d /python/vyos
parent1bd69a81dc32fdaa62be27e4f5ae3cfe333f2a26 (diff)
downloadvyos-1x-9d2646ef2c8228f92baf646814f1f8f1b4e7d09a.tar.gz
vyos-1x-9d2646ef2c8228f92baf646814f1f8f1b4e7d09a.zip
opmode: T4950: add set to the list of op mode functions
Diffstat (limited to 'python/vyos')
-rw-r--r--python/vyos/opmode.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/vyos/opmode.py b/python/vyos/opmode.py
index 30e893d74..6908cbb5c 100644
--- a/python/vyos/opmode.py
+++ b/python/vyos/opmode.py
@@ -70,7 +70,7 @@ class InternalError(Error):
def _is_op_mode_function_name(name):
- if re.match(r"^(show|clear|reset|restart|add|delete|generate)", name):
+ if re.match(r"^(show|clear|reset|restart|add|delete|generate|set)", name):
return True
else:
return False