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:28:00 +0200 |
commit | e7360a55a6e61ed88d48a6b5831aa9e17559c94d (patch) | |
tree | c8d09176042d3decea73a00a896ab58a9361ee1b /templates | |
parent | 3848b50ba314643a8b4aebb992dafcf70971bb35 (diff) | |
download | vyatta-op-e7360a55a6e61ed88d48a6b5831aa9e17559c94d.tar.gz vyatta-op-e7360a55a6e61ed88d48a6b5831aa9e17559c94d.zip |
op-mode: dhcp: T2398: extend completion helper
Also list bond and bridge interfaces when searching for DHCP clients.
(cherry picked from commit 923d3fd83839da3ebfa5b5fcf16717db627a2a84)
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 b0120d0..3fb0b1a 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* ) ; + array=( /sys/class/net/eth* /sys/class/net/bond[0-9]* /sys/class/net/br* ) ; echo -n ${array[@]##*/} run: /opt/vyatta/bin/vyatta-show-dhclient.pl "$6" |