luci-base: let luci.sys.net.devices() return all netdevs
authorJo-Philipp Wich <jo@mein.io>
Thu, 20 Jul 2017 09:44:25 +0000 (11:44 +0200)
committerJo-Philipp Wich <jo@mein.io>
Fri, 28 Jul 2017 13:44:10 +0000 (15:44 +0200)
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>

No differences found