summaryrefslogtreecommitdiff
path: root/src/conf_mode/vpn_ipsec.py
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-06-06 11:01:26 +0200
committerGitHub <noreply@github.com>2021-06-06 11:01:26 +0200
commitf9c142bab451034cf8e119bb20b3f0ca7e1a6bcc (patch)
treea85d530f367975e7c93d0c57332045bcef704bd1 /src/conf_mode/vpn_ipsec.py
parentc1a450a72aa9a353033a542dfd76bbd88b9fcac4 (diff)
parent68e5ca6b56b2b988a0cd9df5b860eab082b3d879 (diff)
downloadvyos-1x-f9c142bab451034cf8e119bb20b3f0ca7e1a6bcc.tar.gz
vyos-1x-f9c142bab451034cf8e119bb20b3f0ca7e1a6bcc.zip
Merge pull request #865 from sarthurdev/current
nhrp: T3599: Migrate NHRP to XML/Python
Diffstat (limited to 'src/conf_mode/vpn_ipsec.py')
-rwxr-xr-xsrc/conf_mode/vpn_ipsec.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/conf_mode/vpn_ipsec.py b/src/conf_mode/vpn_ipsec.py
index fb49f0105..4efedd995 100755
--- a/src/conf_mode/vpn_ipsec.py
+++ b/src/conf_mode/vpn_ipsec.py
@@ -356,7 +356,9 @@ def resync_nhrp(ipsec):
if ipsec and not ipsec['nhrp_exists']:
return
- run('/opt/vyatta/sbin/vyos-update-nhrp.pl --set_ipsec')
+ tmp = run('/usr/libexec/vyos/conf_mode/protocols_nhrp.py')
+ if tmp > 0:
+ print('ERROR: failed to reapply NHRP settings!')
def apply(ipsec):
if not ipsec: