diff options
author | John Southworth <john.southworth@vyatta.com> | 2011-02-16 19:16:25 -0600 |
---|---|---|
committer | John Southworth <john.southworth@vyatta.com> | 2011-02-16 19:16:25 -0600 |
commit | eca11479b369dc04894da775f394e306b452d5b4 (patch) | |
tree | 7c9e50c5c4cf420e6083faa5d18d6da11918b415 /templates/vpn | |
parent | 241734ed6dc0c63411c78b82b8a85254fc311809 (diff) | |
download | vyatta-cfg-vpn-eca11479b369dc04894da775f394e306b452d5b4.tar.gz vyatta-cfg-vpn-eca11479b369dc04894da775f394e306b452d5b4.zip |
Initial support for configuring dhcp-interfaces for IPSEC, needs testing
Diffstat (limited to 'templates/vpn')
-rw-r--r-- | templates/vpn/ipsec/site-to-site/peer/node.tag/dhcp-interface/node.def | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/templates/vpn/ipsec/site-to-site/peer/node.tag/dhcp-interface/node.def b/templates/vpn/ipsec/site-to-site/peer/node.tag/dhcp-interface/node.def new file mode 100644 index 0000000..5297f5a --- /dev/null +++ b/templates/vpn/ipsec/site-to-site/peer/node.tag/dhcp-interface/node.def @@ -0,0 +1,7 @@ +type: txt +help: DHCP interface to listen on +allowed: + local -a array ; + array=( /var/lib/dhcp3/eth* /var/lib/dhcp3/br* ) ; + echo -n ${array[@]##*/} + |