1
0
mirror of https://github.com/solemnwarning/ipxwrapper synced 2024-12-30 16:45:37 +01:00

Correctly order interfaces when first interface has the force primary flag set.

This commit is contained in:
Daniel Collins 2011-08-06 16:18:44 +00:00
parent 1e71883c3e
commit 5f06b2250c
2 changed files with 14 additions and 0 deletions

View File

@ -1,3 +1,13 @@
Version ???:
Feature: Redesigned ipxconfig UI.
Cleanup: Use wrapper function to read registry values in ipxconfig.
Bugfix: Only create registry key when saving configuration.
Bugfix: Correctly order interfaces when first interface has the force
primary flag set.
Version 0.2.1:
Bugfix: Delay stub DLL LoadLibrary calls until first API call as using
LoadLibrary in DllMain crashes under some conditions.

View File

@ -498,6 +498,10 @@ static BOOL load_nics(void) {
/* Force primary flag set, insert at start of NIC list */
nnic->next = nics;
nics = nnic;
if(!enic) {
enic = nnic;
}
}else if(enic) {
enic->next = nnic;
enic = nnic;