summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-mod-failsafe
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2017-07-20 11:44:25 +0200
committerJo-Philipp Wich <jo@mein.io>2017-07-28 15:44:10 +0200
commit4201282559d85988990c8f48f4075bed5f785c2f (patch)
tree2f99b759e78bd2854a776223807499795ebefcd1 /modules/luci-mod-failsafe
parent3630387a9490a0f99b57f9270e0e41a8929a6162 (diff)
luci-base: let luci.sys.net.devices() return all netdevs
The previous implementation of the function only returned ethernet interfaces because it relied on the AF_PACKET family entries returned by getifaddrs(). Change the function to simply collect all interface names it sees in order to avoid missing tunnel interfaces. Fixes FS#917. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'modules/luci-mod-failsafe')
0 files changed, 0 insertions, 0 deletions