summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--templates/vpn/ipsec/profile/node.tag/bind/tunnel/node.def2
-rw-r--r--templates/vpn/ipsec/profile/node.tag/esp-group/node.def4
-rw-r--r--templates/vpn/ipsec/profile/node.tag/ike-group/node.def4
3 files changed, 5 insertions, 5 deletions
diff --git a/templates/vpn/ipsec/profile/node.tag/bind/tunnel/node.def b/templates/vpn/ipsec/profile/node.tag/bind/tunnel/node.def
index 3b05bb5..033be42 100644
--- a/templates/vpn/ipsec/profile/node.tag/bind/tunnel/node.def
+++ b/templates/vpn/ipsec/profile/node.tag/bind/tunnel/node.def
@@ -10,4 +10,4 @@ commit:expression: `cli-shell-api returnValue interfaces tunnel $VAR(@) encapsul
end:
- sudo /opt/vyatta/sbin/vyatta-update-nhrp.pl --tunnel "$VAR(@)" --ipsec_profile "$VAR(../../@)" --commit_ipsec
+ sudo /opt/vyatta/sbin/vyos-update-nhrp.pl --set_ipsec
diff --git a/templates/vpn/ipsec/profile/node.tag/esp-group/node.def b/templates/vpn/ipsec/profile/node.tag/esp-group/node.def
index 1e9eef9..9b346fc 100644
--- a/templates/vpn/ipsec/profile/node.tag/esp-group/node.def
+++ b/templates/vpn/ipsec/profile/node.tag/esp-group/node.def
@@ -2,11 +2,11 @@ type: txt
help: Esp group name [REQUIRED]
val_help: Esp group name
-allowed: sudo /opt/vyatta/sbin/vyatta-update-nhrp.pl --get_esp_gr_names;
+allowed: sudo /opt/vyatta/sbin/vyos-update-nhrp.pl --get_esp_gr_names;
syntax:expression:
exec "
- RET=`sudo /opt/vyatta/sbin/vyatta-update-nhrp.pl --get_esp_gr_names`
+ RET=`sudo /opt/vyatta/sbin/vyos-update-nhrp.pl --get_esp_gr_names`
if echo \"$RET\" | grep -q \"$VAR(@)\"
then
exit 0
diff --git a/templates/vpn/ipsec/profile/node.tag/ike-group/node.def b/templates/vpn/ipsec/profile/node.tag/ike-group/node.def
index 0c80e58..a141812 100644
--- a/templates/vpn/ipsec/profile/node.tag/ike-group/node.def
+++ b/templates/vpn/ipsec/profile/node.tag/ike-group/node.def
@@ -2,11 +2,11 @@ type: txt
help: Ike group name [REQUIRED]
val_help: Ike group name
-allowed: sudo /opt/vyatta/sbin/vyatta-update-nhrp.pl --get_ike_gr_names;
+allowed: sudo /opt/vyatta/sbin/vyos-update-nhrp.pl --get_ike_gr_names;
syntax:expression:
exec "
- RET=`sudo /opt/vyatta/sbin/vyatta-update-nhrp.pl --get_ike_gr_names`
+ RET=`sudo /opt/vyatta/sbin/vyos-update-nhrp.pl --get_ike_gr_names`
if echo \"$RET\" | grep -q \"$VAR(@)\"
then
exit 0