summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-03-28 12:42:48 +0100
committerGitHub <noreply@github.com>2024-03-28 12:42:48 +0100
commit889c1a81a9e291a276e35617f1d77f9f9bd4b194 (patch)
tree6c674939cfb9274d2839a6d9e3c2f9da1953bc28 /python
parent63b9889f2070ae09774c71ff1449a5c1f7b99881 (diff)
parent7dbaa25a199a781aaa9f269741547e576410cb11 (diff)
downloadvyos-1x-889c1a81a9e291a276e35617f1d77f9f9bd4b194.tar.gz
vyos-1x-889c1a81a9e291a276e35617f1d77f9f9bd4b194.zip
Merge pull request #3194 from c-po/dhclient-T6175
op-mode: T6175: "renew dhcp interface <name>" does not check for DHCP interface
Diffstat (limited to 'python')
-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 e1af1a682..8dab9a4ca 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)", name):
+ if re.match(r"^(show|clear|reset|restart|add|update|delete|generate|set|renew)", name):
return True
else:
return False