Skip to content
Snippets Groups Projects
Commit 63ecf6f4 authored by Fredrik Hübinette (Hubbe)'s avatar Fredrik Hübinette (Hubbe)
Browse files

may now work on W2K

Rev: lib/modules/Protocols.pmod/DNS.pmod:1.42
parent 53bdc644
No related branches found
No related tags found
No related merge requests found
......@@ -416,6 +416,20 @@ class client
return RegGetValue(HKEY_LOCAL_MACHINE, key, val);
};
}
#if constant(RegGetKeyNames)
/* W2K, should be fixed to return results from *all* interfaces
* instead of just the first interface. -Hubbe
*/
foreach(RegGetKeyNames(HKEY_LOCAL_MACHINE,
"SYSTEM\\CurrentControlSet\\Tcpip\\Parameters\\Interfaces"), string key)
{
catch {
return RegGetValue(HKEY_LOCAL_MACHINE,
"SYSTEM\\CurrentControlSet\\Tcpip\\Parameters\\Interfaces\\"+key,val);
};
}
}
#endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment