pike.git / lib / modules / Protocols.pmod / DNS.pmod

version» Context lines:

pike.git/lib/modules/Protocols.pmod/DNS.pmod:422: Inside #if defined(__NT__) and #if constant(RegGetKeyNames)
   * 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       }   #endif       static private string match_etc_hosts(string host)    {    if (!etc_hosts) {    string raw;   #ifdef __NT__    raw=get_tcpip_param("DataBasePath")+"\\hosts";