summaryrefslogtreecommitdiff
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:53 +0000
commit6a1fe37abb441203c02315a5930060bbaeb4a49e (patch)
treec718f647c6fcce21fc966d1f7055d2c43b715778
parent79a7eec862ba489e6787487fdf462dd00b062f55 (diff)
downloadvyos-1x-6a1fe37abb441203c02315a5930060bbaeb4a49e.tar.gz
vyos-1x-6a1fe37abb441203c02315a5930060bbaeb4a49e.zip
op_mode: T6593: Release DHCP interface does not work
(cherry picked from commit 92461c35c7ef131940c885aca894a2d8b3c89592)
-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