From 923d3fd83839da3ebfa5b5fcf16717db627a2a84 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. --- 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 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" -- cgit v1.2.3