diff options
author | Kim Hagen <khagen@multi-development.com> | 2014-09-10 16:40:29 +0200 |
---|---|---|
committer | Kim Hagen <khagen@multi-development.com> | 2014-09-10 16:40:29 +0200 |
commit | f1db9734ca1538f7bfc4829f53d56047fa921c32 (patch) | |
tree | 33fed2190376d2320ba9cf1eb940e306889ce1d1 /templates/vpn/ipsec | |
parent | 65a56dafd8acb7caa09a47a8e013472c6a03a016 (diff) | |
download | vyatta-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.def | 3 |
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: |