summaryrefslogtreecommitdiff
path: root/python/vyos/opmode.py
diff options
context:
space:
mode:
authorNataliia Solomko <natalirs1985@gmail.com>2024-07-24 11:11:33 +0300
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2024-07-24 08:52:52 +0000
commit760712fd2cdeb9e6c4e11ca66b1eaa8eed96b094 (patch)
tree28ae89997a9fd12986fc0367098e67e9dfdca5b1 /python/vyos/opmode.py
parent6fb937821dd4d70f70dff65cfd81684f175c426a (diff)
downloadvyos-1x-760712fd2cdeb9e6c4e11ca66b1eaa8eed96b094.tar.gz
vyos-1x-760712fd2cdeb9e6c4e11ca66b1eaa8eed96b094.zip
op_mode: T6593: Release DHCP interface does not work
(cherry picked from commit 92461c35c7ef131940c885aca894a2d8b3c89592)
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 8dab9a4ca..b52da9d4e 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|update|delete|generate|set|renew)", name):
+ if re.match(r"^(show|clear|reset|restart|add|update|delete|generate|set|renew|release)", name):
return True
else:
return False