summaryrefslogtreecommitdiff
path: root/templates/vpn/ipsec
diff options
context:
space:
mode:
authorKim Hagen <khagen@multi-development.com>2014-09-10 16:40:29 +0200
committerKim Hagen <khagen@multi-development.com>2014-09-10 16:40:29 +0200
commitf1db9734ca1538f7bfc4829f53d56047fa921c32 (patch)
tree33fed2190376d2320ba9cf1eb940e306889ce1d1 /templates/vpn/ipsec
parent65a56dafd8acb7caa09a47a8e013472c6a03a016 (diff)
downloadvyatta-cfg-vpn-f1db9734ca1538f7bfc4829f53d56047fa921c32.tar.gz
vyatta-cfg-vpn-f1db9734ca1538f7bfc4829f53d56047fa921c32.zip
Remove gre-multipoint reference
Diffstat (limited to 'templates/vpn/ipsec')
-rw-r--r--templates/vpn/ipsec/profile/node.tag/bind/tunnel/node.def3
1 files changed, 2 insertions, 1 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 033be42..cf3568b 100644
--- a/templates/vpn/ipsec/profile/node.tag/bind/tunnel/node.def
+++ b/templates/vpn/ipsec/profile/node.tag/bind/tunnel/node.def
@@ -6,7 +6,8 @@ allowed: cli-shell-api listActiveNodes interfaces tunnel
commit:expression: $VAR(../../esp-group/) != ""; "Must configure esp-group"
commit:expression: $VAR(../../ike-group/) != ""; "Must configure ike-group"
commit:expression: $VAR(../../authentication/) != ""; "Must configure authentication"
-commit:expression: `cli-shell-api returnValue interfaces tunnel $VAR(@) encapsulation` == "gre-multipoint"; "Must be mgre tunnel"
+commit:expression: (`cli-shell-api returnValue interfaces tunnel $VAR(@) encapsulation` == "gre" && \
+ `cli-shell-api returnValue interfaces tunnel $VAR(@) remote-ip` == ""); "Must be mgre tunnel"
end: