From f1db9734ca1538f7bfc4829f53d56047fa921c32 Mon Sep 17 00:00:00 2001 From: Kim Hagen Date: Wed, 10 Sep 2014 16:40:29 +0200 Subject: Remove gre-multipoint reference --- templates/vpn/ipsec/profile/node.tag/bind/tunnel/node.def | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'templates') 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: -- cgit v1.2.3