shellrow/netdev

If connected via Wi-Fi the default network interface is not found on Windows

Closed this issue · 1 comments

If the default network interface is the Wi-Fi adapter get_default_interface returns None because the Wi-Fi interface is not enumerated.

When connected via Wi-Fi GetAdaptersInfo returns the interface type IF_TYPE_IEEE80211, this is skipped so the interface is not added to the vector of interfaces.

https://docs.microsoft.com/en-us/windows/win32/api/iptypes/ns-iptypes-ip_adapter_info

Thanks for the report.
v0.8.2 is available.
Added missing interface types including IF_TYPE_IEEE80211