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);