diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-06-06 11:01:26 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-06 11:01:26 +0200 |
commit | f9c142bab451034cf8e119bb20b3f0ca7e1a6bcc (patch) | |
tree | a85d530f367975e7c93d0c57332045bcef704bd1 /src/conf_mode/vpn_ipsec.py | |
parent | c1a450a72aa9a353033a542dfd76bbd88b9fcac4 (diff) | |
parent | 68e5ca6b56b2b988a0cd9df5b860eab082b3d879 (diff) | |
download | vyos-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-x | src/conf_mode/vpn_ipsec.py | 4 |
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: |