remove dhcp_server from net_info
This commit is contained in:
1 parent
ac2c89b0a9
commit
3ff4089db1
4 files changed
+2
-10
No files matched your search
@@ -1668,11 +1668,12 @@ SIGAR_DECLARE(int) sigar_net_info_get(sigar_t *sigar,
|
||||
SIGAR_SSTRCPY(netinfo->default_gateway,
|
||||
info->GatewayList.IpAddress.String);
|
||||
}
|
||||
#if 0
|
||||
if (info->DhcpEnabled) {
|
||||
SIGAR_SSTRCPY(netinfo->dhcp_server,
|
||||
info->DhcpServer.IpAddress.String);
|
||||
}
|
||||
|
||||
#endif
|
||||
info = info->Next;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user