Fix an off-by-one in fallback interface selection

This commit is contained in:
Cameron Gutman 2013-12-05 19:27:46 -05:00
parent ce1494895e
commit 9ac103187f

View File

@ -77,7 +77,7 @@ public class NvConnection {
NetworkInterface iface = ifaceList.nextElement();
if (iface.getHardwareAddress() != null) {
selectedIface = ifaceList.nextElement();
selectedIface = iface;
break;
}
}