mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2026-10-22 16:17:27 +00:00
Fix an off-by-one in fallback interface selection
This commit is contained in:
1 parent
ce1494895e
commit
9ac103187f
1 file changed
+1
-1
@@ -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