summaryrefslogtreecommitdiff
path: root/templates/protocols/static/route
diff options
context:
space:
mode:
authorRunar Borge <runar@borge.nu>2019-07-05 21:57:40 +0200
committerRunar Borge <runar@borge.nu>2019-07-05 21:57:40 +0200
commit4f6182f77ce5925b22c16bbde6a359e13ccc9c6a (patch)
tree3791332756e66b768da305a5211fbc66777dc46b /templates/protocols/static/route
parent3cb86c636fcc4e6e5594b67e01bbb9147d7cbd05 (diff)
downloadvyatta-cfg-quagga-4f6182f77ce5925b22c16bbde6a359e13ccc9c6a.tar.gz
vyatta-cfg-quagga-4f6182f77ce5925b22c16bbde6a359e13ccc9c6a.zip
T1499: Allow for usage of systemd interface mappings
Diffstat (limited to 'templates/protocols/static/route')
-rw-r--r--templates/protocols/static/route/node.tag/dhcp-interface/node.def2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/protocols/static/route/node.tag/dhcp-interface/node.def b/templates/protocols/static/route/node.tag/dhcp-interface/node.def
index db83853d..7820800b 100644
--- a/templates/protocols/static/route/node.tag/dhcp-interface/node.def
+++ b/templates/protocols/static/route/node.tag/dhcp-interface/node.def
@@ -2,7 +2,7 @@ type: txt
help: DHCP interface that supplies the next-hop IP address for this static route
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-static-route.pl --interface=$VAR(@) --route=$VAR(../@) --table=main --option=create