diff options
author | sarthurdev <965089+sarthurdev@users.noreply.github.com> | 2021-05-31 12:08:48 +0200 |
---|---|---|
committer | sarthurdev <965089+sarthurdev@users.noreply.github.com> | 2021-06-06 00:14:10 +0200 |
commit | b3bce6497cc20cad687efc818d679d71d62fbd26 (patch) | |
tree | 67ccbd191f824de18d8b39f0694c040c65e38e78 /src/conf_mode/vpn_ipsec.py | |
parent | 77866ccb16194a2446b2faccb52ec852aa882b96 (diff) | |
download | vyos-1x-b3bce6497cc20cad687efc818d679d71d62fbd26.tar.gz vyos-1x-b3bce6497cc20cad687efc818d679d71d62fbd26.zip |
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 c57697a8f..eedb9098c 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: |