summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-03-28 14:14:19 +0100
committerGitHub <noreply@github.com>2024-03-28 14:14:19 +0100
commit9bdd00b7d6850f4ccabcc8ad53ff4f09676ba83f (patch)
treeeaf13140da518e37ce5760320c6721c3e89c9661 /python
parent9ee515c236f9fb8cb907790b37a8f5fa54efc47a (diff)
parente37f58be928b5f86f1c599ab4386747bf45e900e (diff)
downloadvyos-1x-9bdd00b7d6850f4ccabcc8ad53ff4f09676ba83f.tar.gz
vyos-1x-9bdd00b7d6850f4ccabcc8ad53ff4f09676ba83f.zip
Merge pull request #3199 from vyos/mergify/bp/sagitta/pr-3194
op-mode: T6175: "renew dhcp interface <name>" does not check for DHCP interface (backport #3194)
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