From 9d2646ef2c8228f92baf646814f1f8f1b4e7d09a Mon Sep 17 00:00:00 2001 From: Daniil Baturin Date: Mon, 23 Jan 2023 16:25:50 +0000 Subject: opmode: T4950: add set to the list of op mode functions --- python/vyos/opmode.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3