mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2026-02-16 02:20:55 +00:00
Fix an off-by-one in fallback interface selection
This commit is contained in:
@@ -77,7 +77,7 @@ public class NvConnection {
|
||||
NetworkInterface iface = ifaceList.nextElement();
|
||||
|
||||
if (iface.getHardwareAddress() != null) {
|
||||
selectedIface = ifaceList.nextElement();
|
||||
selectedIface = iface;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user