summaryrefslogtreecommitdiff
path: root/src/conf_mode
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-05-12 16:02:10 +0200
committerGitHub <noreply@github.com>2022-05-12 16:02:10 +0200
commit2a8833356a30e6190bf1ccce66827904bf4906e5 (patch)
tree2f0a388baa71fe49889bf4a233b2a48ab32d1c3e /src/conf_mode
parent02c1993afbac164c0fc63c3592219012d8bd2464 (diff)
parent1efeab024888b542659f9e5c0361c0e9ae490245 (diff)
downloadvyos-1x-2a8833356a30e6190bf1ccce66827904bf4906e5.tar.gz
vyos-1x-2a8833356a30e6190bf1ccce66827904bf4906e5.zip
Merge pull request #1323 from sever-sever/T4399
Revert "NHRP : T4399: fix issues restart nhrp when add or del tunnel"
Diffstat (limited to 'src/conf_mode')
-rwxr-xr-xsrc/conf_mode/protocols_nhrp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/protocols_nhrp.py b/src/conf_mode/protocols_nhrp.py
index 92b335085..b6371d09f 100755
--- a/src/conf_mode/protocols_nhrp.py
+++ b/src/conf_mode/protocols_nhrp.py
@@ -104,7 +104,7 @@ def apply(nhrp):
if rule_handle:
remove_nftables_rule('ip filter', 'VYOS_FW_OUTPUT', rule_handle)
- action = 'reload-or-restart' if nhrp and 'tunnel' in nhrp else 'stop'
+ action = 'restart' if nhrp and 'tunnel' in nhrp else 'stop'
run(f'systemctl {action} opennhrp')
return None