net_interface ipv6 support requires msvc7 or higher
This commit is contained in:
1 parent
e2c74bb616
commit
ba22cc0531
2 files changed
+8
-1
No files matched your search
@@ -2640,6 +2640,9 @@ sigar_net_interface_list_get(sigar_t *sigar,
|
||||
static int sigar_net_interface_ipv6_config_find(sigar_t *sigar, int index,
|
||||
sigar_net_interface_config_t *ifconfig)
|
||||
{
|
||||
#ifdef SIGAR_USING_MSC6
|
||||
return SIGAR_ENOTIMPL;
|
||||
#else
|
||||
int status;
|
||||
PIP_ADAPTER_ADDRESSES aa, addrs;
|
||||
ULONG flags = GAA_FLAG_INCLUDE_PREFIX;
|
||||
@@ -2671,6 +2674,7 @@ static int sigar_net_interface_ipv6_config_find(sigar_t *sigar, int index,
|
||||
}
|
||||
}
|
||||
return SIGAR_ENOENT;
|
||||
#endif
|
||||
}
|
||||
|
||||
SIGAR_DECLARE(int)
|
||||
|
||||
Reference in new issue
Block a user