fillin net_info.host_name

This commit is contained in:
Doug MacEachern 2005-07-11 22:44:13 +00:00
parent 75bbbb0f45
commit 0a67c7fac2
1 changed files with 1 additions and 0 deletions

View File

@ -1623,6 +1623,7 @@ SIGAR_DECLARE(int) sigar_net_info_get(sigar_t *sigar,
return GetLastError(); return GetLastError();
} }
SIGAR_SSTRCPY(netinfo->host_name, info.HostName);
SIGAR_SSTRCPY(netinfo->domain_name, info.DomainName); SIGAR_SSTRCPY(netinfo->domain_name, info.DomainName);
SIGAR_SSTRCPY(netinfo->primary_dns, SIGAR_SSTRCPY(netinfo->primary_dns,
info.DnsServerList.IpAddress.String); info.DnsServerList.IpAddress.String);