mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2025-07-19 19:13:03 +00:00
Fix an off-by-one in fallback interface selection
This commit is contained in:
parent
ce1494895e
commit
9ac103187f
@ -77,7 +77,7 @@ public class NvConnection {
|
||||
NetworkInterface iface = ifaceList.nextElement();
|
||||
|
||||
if (iface.getHardwareAddress() != null) {
|
||||
selectedIface = ifaceList.nextElement();
|
||||
selectedIface = iface;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user