diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-04-29 16:26:50 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-04-29 16:26:55 +0200 |
commit | 923d3fd83839da3ebfa5b5fcf16717db627a2a84 (patch) | |
tree | 24004e1b012b750eae415192d6285e603ca563cd /templates | |
parent | 7acd9a276c74a6c57e4a43bab6e18782304fed99 (diff) | |
download | vyatta-op-923d3fd83839da3ebfa5b5fcf16717db627a2a84.tar.gz vyatta-op-923d3fd83839da3ebfa5b5fcf16717db627a2a84.zip |
op-mode: dhcp: T2398: extend completion helper
Also list bond and bridge interfaces when searching for DHCP clients.
Diffstat (limited to 'templates')
-rw-r--r-- | templates/show/dhcp/client/leases/interface/node.tag/node.def | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/show/dhcp/client/leases/interface/node.tag/node.def b/templates/show/dhcp/client/leases/interface/node.tag/node.def index a987d28..39ee6ac 100644 --- a/templates/show/dhcp/client/leases/interface/node.tag/node.def +++ b/templates/show/dhcp/client/leases/interface/node.tag/node.def @@ -1,5 +1,5 @@ help: Show DHCP client information for interface allowed: local -a array ; - array=( /sys/class/net/eth* /sys/class/net/en* ) ; + array=( /sys/class/net/eth* /sys/class/net/en* /sys/class/net/bond[0-9]* /sys/class/net/br* ) ; echo -n ${array[@]##*/} run: /opt/vyatta/bin/vyatta-show-dhclient.pl "$6" |