use SIGAR_INET6_ADDRSTRLEN
This commit is contained in:
parent
24bf84a310
commit
839010d6c9
|
@ -45,7 +45,7 @@ Sigar::NfsServerV3 T_PTROBJ
|
|||
OUTPUT
|
||||
T_NETADDR
|
||||
{
|
||||
char addr_str[INET6_ADDRSTRLEN];
|
||||
char addr_str[SIGAR_INET6_ADDRSTRLEN];
|
||||
sigar_net_address_to_string(NULL, &$var, addr_str);
|
||||
sv_setpv($arg, addr_str);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue