summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-05-21 21:47:51 +0200
committerChristian Poessinger <christian@poessinger.com>2022-05-21 21:47:51 +0200
commit2663a891ed460cbab186fbe882afb77fc911f053 (patch)
tree11b3a0e1fdb9af5c268376abd8e97fa21830d3e5
parent3ee8e128702de0111574e13819e614ec410cdb63 (diff)
downloadvyos-1x-2663a891ed460cbab186fbe882afb77fc911f053.tar.gz
vyos-1x-2663a891ed460cbab186fbe882afb77fc911f053.zip
nhrp: T4353: use ".service" suffix on systemd name
-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 e4848dea5..56939955d 100755
--- a/src/conf_mode/protocols_nhrp.py
+++ b/src/conf_mode/protocols_nhrp.py
@@ -110,7 +110,7 @@ def apply(nhrp):
remove_nftables_rule('ip filter', 'VYOS_FW_OUTPUT', rule_handle)
action = 'restart' if nhrp and 'tunnel' in nhrp else 'stop'
- run(f'systemctl {action} opennhrp')
+ run(f'systemctl {action} opennhrp.service')
return None
if __name__ == '__main__':