luci-mod-network: add is_auto option to iface_status

Make interface information is_auto available.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
This commit is contained in:
Florian Eckert 2018-08-29 15:15:10 +02:00
parent bea3879009
commit 3ff15a22d5

View file

@ -212,6 +212,7 @@ function iface_status(ifaces)
is_up = net:is_up() and device:is_up(),
is_alias = net:is_alias(),
is_dynamic = net:is_dynamic(),
is_auto = net:is_auto(),
rx_bytes = device:rx_bytes(),
tx_bytes = device:tx_bytes(),
rx_packets = device:rx_packets(),