From 760712fd2cdeb9e6c4e11ca66b1eaa8eed96b094 Mon Sep 17 00:00:00 2001 From: Nataliia Solomko Date: Wed, 24 Jul 2024 11:11:33 +0300 Subject: op_mode: T6593: Release DHCP interface does not work (cherry picked from commit 92461c35c7ef131940c885aca894a2d8b3c89592) --- 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 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 -- cgit v1.2.3