summaryrefslogtreecommitdiff
path: root/templates/interfaces/tunnel
diff options
context:
space:
mode:
authorrunborg <runar@13xl.com>2019-07-05 22:23:59 +0200
committerKim <kim.sidney@gmail.com>2019-07-05 22:23:59 +0200
commiteebb654d64fc8dafeecbda93414436a51881f776 (patch)
tree3a6de0cc5b5c64bd68c1d9195df3a565bf867514 /templates/interfaces/tunnel
parentcb83db1758822dbd16fa712aa6aab7005d51b154 (diff)
downloadvyatta-cfg-system-eebb654d64fc8dafeecbda93414436a51881f776.tar.gz
vyatta-cfg-system-eebb654d64fc8dafeecbda93414436a51881f776.zip
T1499: Allow for usage of systemd interface mappings (#103)
* T1499: Allow for usage of systemd interface mappings * T1499: Fix not working regex in ethernet interface parsing
Diffstat (limited to 'templates/interfaces/tunnel')
-rw-r--r--templates/interfaces/tunnel/node.tag/dhcp-interface/node.def2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/interfaces/tunnel/node.tag/dhcp-interface/node.def b/templates/interfaces/tunnel/node.tag/dhcp-interface/node.def
index f9d81b20..d2a4e3d6 100644
--- a/templates/interfaces/tunnel/node.tag/dhcp-interface/node.def
+++ b/templates/interfaces/tunnel/node.tag/dhcp-interface/node.def
@@ -2,7 +2,7 @@ type: txt
help: DHCP interface that supplies the local IP address for this tunnel
allowed:
local -a array ;
- array=( /var/lib/dhcp/eth* /var/lib/dhcp/br* /var/lib/dhcp/bond* ) ;
+ array=( /var/lib/dhcp/en* /var/lib/dhcp/eth* /var/lib/dhcp/br* /var/lib/dhcp/bond* ) ;
echo -n ${array[@]##*/}
create:
sudo /opt/vyatta/sbin/vyatta-update-tunnel.pl --interface=$VAR(@) --tunnel=$VAR(../@) --option=create