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:
parent
1e71883c3e
commit
5f06b2250c
10
changes.txt
10
changes.txt
@ -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:
|
Version 0.2.1:
|
||||||
Bugfix: Delay stub DLL LoadLibrary calls until first API call as using
|
Bugfix: Delay stub DLL LoadLibrary calls until first API call as using
|
||||||
LoadLibrary in DllMain crashes under some conditions.
|
LoadLibrary in DllMain crashes under some conditions.
|
||||||
|
@ -498,6 +498,10 @@ static BOOL load_nics(void) {
|
|||||||
/* Force primary flag set, insert at start of NIC list */
|
/* Force primary flag set, insert at start of NIC list */
|
||||||
nnic->next = nics;
|
nnic->next = nics;
|
||||||
nics = nnic;
|
nics = nnic;
|
||||||
|
|
||||||
|
if(!enic) {
|
||||||
|
enic = nnic;
|
||||||
|
}
|
||||||
}else if(enic) {
|
}else if(enic) {
|
||||||
enic->next = nnic;
|
enic->next = nnic;
|
||||||
enic = nnic;
|
enic = nnic;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user