diff --git a/files/generic/ethinfo b/files/generic/ethinfo index e4d821f..7ff7a59 100755 --- a/files/generic/ethinfo +++ b/files/generic/ethinfo @@ -7,7 +7,7 @@ local jsonc = require "luci.jsonc" local eth_info = {} local ifname, stat for ifname, stat in pairs(util.ubus("network.device", "status")) do - if ifname:match("^(eth%d+)$") == ifname or ifname:match("^(usb%d+)$") or ifname:match("^(lan%d+)$") == ifname then + if ifname:match("^(eth%d+)$") == ifname or ifname:match("^(usb%d+)$") or ifname:match("^(lan%d+)$") or ifname:match("wan") == ifname then local status, speed, duplex status = stat.carrier and "yes" or "no"