summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStig Thormodsrud <stig@vyatta.com>2009-03-26 12:27:26 -0700
committerStig Thormodsrud <stig@vyatta.com>2009-03-26 12:27:26 -0700
commit6cfa3f93d3f31a9a8e8662e31e946063e88d4ff7 (patch)
tree95950483d156ab9e80db1aa25a550a77ca554c5e
parentff8438578a186ae74eb6dadc0fabed6f138c370b (diff)
downloadvyatta-cfg-vpn-6cfa3f93d3f31a9a8e8662e31e946063e88d4ff7.tar.gz
vyatta-cfg-vpn-6cfa3f93d3f31a9a8e8662e31e946063e88d4ff7.zip
Change "ipsec-interfaces" to use vyatta-interfaces.pl for allowed tag.
-rw-r--r--templates/vpn/ipsec/ipsec-interfaces/interface/node.def4
1 files changed, 1 insertions, 3 deletions
diff --git a/templates/vpn/ipsec/ipsec-interfaces/interface/node.def b/templates/vpn/ipsec/ipsec-interfaces/interface/node.def
index 0051fc3..a8c5057 100644
--- a/templates/vpn/ipsec/ipsec-interfaces/interface/node.def
+++ b/templates/vpn/ipsec/ipsec-interfaces/interface/node.def
@@ -1,6 +1,4 @@
multi:
type: txt
help: Set IPsec interface
-allowed: local -a array ;
- array=( /sys/class/net/* ) ;
- echo -n ${array[@]##*/}
+allowed: ${vyatta_sbindir}/vyatta-interfaces.pl --show all