Branch: Tag:

2001-02-02

2001-02-02 15:17:06 by Tomas Nilsson <tomas@roxen.com>

Modified the registry path in get_tcpip_param used on NT.

Rev: lib/modules/Protocols.pmod/DNS.pmod:1.55

4:   //! module Protocols   //! submodule DNS    - //! $Id: DNS.pmod,v 1.54 2000/12/08 12:15:17 grubba Exp $ + //! $Id: DNS.pmod,v 1.55 2001/02/02 15:17:06 tomas Exp $      #pike __REAL_VERSION__   
424: Inside #if defined(__NT__) and #if constant(RegGetKeyNames)
     #if constant(RegGetKeyNames)    foreach(RegGetKeyNames(HKEY_LOCAL_MACHINE, -  "SYSTEM\\CurrentControlSet\\Tcpip\\" +  "SYSTEM\\CurrentControlSet\\Services\\Tcpip\\"    "Parameters\\Interfaces"), string key)    {    catch {    res += ({ RegGetValue(HKEY_LOCAL_MACHINE, -  "SYSTEM\\CurrentControlSet\\Tcpip\\" +  "SYSTEM\\CurrentControlSet\\Services\\Tcpip\\"    "Parameters\\Interfaces\\" + key, val) });    };    }