diff options
author | Florian Eckert <fe@dev.tdt.de> | 2018-08-29 15:15:10 +0200 |
---|---|---|
committer | Florian Eckert <fe@dev.tdt.de> | 2019-04-25 10:16:32 +0200 |
commit | 3ff15a22d5d7687d5e64b72210bf72ae7bd39793 (patch) | |
tree | 8225cb2ce5ac9a06e7104131de0e05acd5fc3fc6 /modules | |
parent | bea3879009c5c309b59e7f0972fbed9d1487a529 (diff) |
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>
Diffstat (limited to 'modules')
-rw-r--r-- | modules/luci-mod-network/luasrc/controller/admin/network.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/luci-mod-network/luasrc/controller/admin/network.lua b/modules/luci-mod-network/luasrc/controller/admin/network.lua index 1da5eac464..2312dcf6e0 100644 --- a/modules/luci-mod-network/luasrc/controller/admin/network.lua +++ b/modules/luci-mod-network/luasrc/controller/admin/network.lua @@ -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(), |