summaryrefslogtreecommitdiff
path: root/python/vyos
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-02-01 21:21:17 +0100
committerGitHub <noreply@github.com>2024-02-01 21:21:17 +0100
commit176a79420c5bf676b0f857a169a9b9c3906ee0c0 (patch)
tree4dd9eb9f5322f7e8bb0ae970e0ace6dab7b0880e /python/vyos
parenta93491acfca90ac910a235d03ca8e93830c98c12 (diff)
parent323994ed0fc40b67a0aa7c839229864ccb6b0e33 (diff)
downloadvyos-1x-176a79420c5bf676b0f857a169a9b9c3906ee0c0.tar.gz
vyos-1x-176a79420c5bf676b0f857a169a9b9c3906ee0c0.zip
Merge pull request #2860 from indrajitr/ddclient-update-20240119
ddclient: T5966: Adjust dynamic dns config address subpath
Diffstat (limited to 'python/vyos')
-rw-r--r--python/vyos/opmode.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/python/vyos/opmode.py b/python/vyos/opmode.py
index 230a85541..e1af1a682 100644
--- a/python/vyos/opmode.py
+++ b/python/vyos/opmode.py
@@ -1,4 +1,4 @@
-# Copyright 2022-2023 VyOS maintainers and contributors <maintainers@vyos.io>
+# Copyright 2022-2024 VyOS maintainers and contributors <maintainers@vyos.io>
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
@@ -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|set)", name):
+ if re.match(r"^(show|clear|reset|restart|add|update|delete|generate|set)", name):
return True
else:
return False
@@ -275,4 +275,3 @@ def run(module):
# Other functions should not return anything,
# although they may print their own warnings or status messages
func(**args)
-