summaryrefslogtreecommitdiff
path: root/python/vyos/opmode.py
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-01-25 14:26:47 +0100
committerGitHub <noreply@github.com>2023-01-25 14:26:47 +0100
commit7634e16dcaaf4e08dec8bd9b92c6e731c32ef7cd (patch)
tree71aae1a4cfcb1b7eb8cfb4a75aa2ca01baaf538c /python/vyos/opmode.py
parentcf128449bac7f753d7853636758a74f370490ff3 (diff)
parent9d2646ef2c8228f92baf646814f1f8f1b4e7d09a (diff)
downloadvyos-1x-7634e16dcaaf4e08dec8bd9b92c6e731c32ef7cd.tar.gz
vyos-1x-7634e16dcaaf4e08dec8bd9b92c6e731c32ef7cd.zip
Merge pull request #1778 from dmbaturin/T4950-op-mode-set
opmode: T4950: add set to the list of op mode functions
Diffstat (limited to 'python/vyos/opmode.py')
-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 af2c7b28b..d02ad4de6 100644
--- a/python/vyos/opmode.py
+++ b/python/vyos/opmode.py
@@ -81,7 +81,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