From 839010d6c966b5163f65d632c2b0ed3f9bd5ae17 Mon Sep 17 00:00:00 2001 From: Doug MacEachern Date: Tue, 24 Feb 2009 19:47:41 -0800 Subject: [PATCH] use SIGAR_INET6_ADDRSTRLEN --- bindings/perl/typemap | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bindings/perl/typemap b/bindings/perl/typemap index 1a2beebd..9f695178 100644 --- a/bindings/perl/typemap +++ b/bindings/perl/typemap @@ -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); }