mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2025-07-21 12:03:02 +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();
|
NetworkInterface iface = ifaceList.nextElement();
|
||||||
|
|
||||||
if (iface.getHardwareAddress() != null) {
|
if (iface.getHardwareAddress() != null) {
|
||||||
selectedIface = ifaceList.nextElement();
|
selectedIface = iface;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user