From 0a67c7fac2540a31995dc93396f527b8937f4ec1 Mon Sep 17 00:00:00 2001 From: Doug MacEachern Date: Mon, 11 Jul 2005 22:44:13 +0000 Subject: [PATCH] fillin net_info.host_name --- src/os/win32/win32_sigar.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/os/win32/win32_sigar.c b/src/os/win32/win32_sigar.c index 78e860a8..b45d1f2f 100644 --- a/src/os/win32/win32_sigar.c +++ b/src/os/win32/win32_sigar.c @@ -1623,6 +1623,7 @@ SIGAR_DECLARE(int) sigar_net_info_get(sigar_t *sigar, return GetLastError(); } + SIGAR_SSTRCPY(netinfo->host_name, info.HostName); SIGAR_SSTRCPY(netinfo->domain_name, info.DomainName); SIGAR_SSTRCPY(netinfo->primary_dns, info.DnsServerList.IpAddress.String);