diff options
Diffstat (limited to 'windows')
| -rw-r--r-- | windows/winnet/src/winnet/netmonitor.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/windows/winnet/src/winnet/netmonitor.cpp b/windows/winnet/src/winnet/netmonitor.cpp index 777925cce3..bf6636fcd1 100644 --- a/windows/winnet/src/winnet/netmonitor.cpp +++ b/windows/winnet/src/winnet/netmonitor.cpp @@ -19,7 +19,14 @@ bool ValidInterfaceType(const MIB_IF_ROW2 &iface) } } - if (FALSE != iface.InterfaceAndOperStatusFlags.FilterInterface + // + // (Windows 10, and possibly others.) + // The BT adapter is erronously not marked as representing hardware. + // By filtering on this we currently do not support BT tethering. + // + + if (FALSE == iface.InterfaceAndOperStatusFlags.HardwareInterface + || FALSE != iface.InterfaceAndOperStatusFlags.FilterInterface || 0 == iface.PhysicalAddressLength || FALSE != iface.InterfaceAndOperStatusFlags.EndPointInterface) { |
