summaryrefslogtreecommitdiff
path: root/src/conf_mode/protocols_nhrp.py
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2022-05-12 08:52:31 +0000
committerViacheslav Hletenko <v.gletenko@vyos.io>2022-05-12 08:52:31 +0000
commit1efeab024888b542659f9e5c0361c0e9ae490245 (patch)
tree365b45afdd6eb6593cbd185361df378356218da6 /src/conf_mode/protocols_nhrp.py
parentab75607030f0ae4f767cce614471fa3888b8f5a2 (diff)
downloadvyos-1x-1efeab024888b542659f9e5c0361c0e9ae490245.tar.gz
vyos-1x-1efeab024888b542659f9e5c0361c0e9ae490245.zip
Revert "NHRP : T4399: fix issues restart nhrp when add or del tunnel"
This reverts commit d1455f936ca721633fcc04d5c84169b4ccf2f447. New spokes can't register on hub with 'reload-or-restart' option And requires option 'restart' for opennhrp.service
Diffstat (limited to 'src/conf_mode/protocols_nhrp.py')
-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