Skip to content
Commit 42012825 authored by Jo-Philipp Wich's avatar Jo-Philipp Wich
Browse files

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: default avatarJo-Philipp Wich <jo@mein.io>
parent 3630387a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment