From e7360a55a6e61ed88d48a6b5831aa9e17559c94d Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Wed, 29 Apr 2020 16:26:50 +0200 Subject: op-mode: dhcp: T2398: extend completion helper Also list bond and bridge interfaces when searching for DHCP clients. (cherry picked from commit 923d3fd83839da3ebfa5b5fcf16717db627a2a84) --- templates/show/dhcp/client/leases/interface/node.tag/node.def | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates') 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" -- cgit v1.2.3