From d1455f936ca721633fcc04d5c84169b4ccf2f447 Mon Sep 17 00:00:00 2001 From: fett0 Date: Wed, 27 Apr 2022 21:00:04 +0000 Subject: NHRP : T4399: fix issues restart nhrp when add or del tunnel --- src/conf_mode/protocols_nhrp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/conf_mode') diff --git a/src/conf_mode/protocols_nhrp.py b/src/conf_mode/protocols_nhrp.py index 7eeb5cd30..ff8ae8eeb 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 = 'restart' if nhrp and 'tunnel' in nhrp else 'stop' + action = 'reload-or-restart' if nhrp and 'tunnel' in nhrp else 'stop' run(f'systemctl {action} opennhrp') return None -- cgit v1.2.3