diff options
author | Dmitry Sivachenko <demon@FreeBSD.org> | 2011-07-04 11:57:38 +0000 |
---|---|---|
committer | Dmitry Sivachenko <demon@FreeBSD.org> | 2011-07-04 11:57:38 +0000 |
commit | 6e9bc86d4628a69582adfb7f37ee61f8464c85f7 (patch) | |
tree | 2c0a77be52b3228af14b5c8778f279696b6f3f30 /net-mgmt/p5-SNMP_Session | |
parent | 48d67602dafb0b395a5d7cbb2ae7a1e7fd3799da (diff) |
Notes
Diffstat (limited to 'net-mgmt/p5-SNMP_Session')
-rw-r--r-- | net-mgmt/p5-SNMP_Session/files/patch-SNMP_Session.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net-mgmt/p5-SNMP_Session/files/patch-SNMP_Session.pm b/net-mgmt/p5-SNMP_Session/files/patch-SNMP_Session.pm index e842e11b5dae..22ae5b69c035 100644 --- a/net-mgmt/p5-SNMP_Session/files/patch-SNMP_Session.pm +++ b/net-mgmt/p5-SNMP_Session/files/patch-SNMP_Session.pm @@ -5,7 +5,7 @@ if (eval {local $SIG{__DIE__};require Socket6;} && eval {local $SIG{__DIE__};require IO::Socket::INET6; IO::Socket::INET6->VERSION("1.26");}) { - import Socket6; -+ Socket6->import(qw(pack_sockaddr_in6 inet_pton getaddrinfo)); ++ Socket6->import(qw(pack_sockaddr_in6 inet_pton inet_ntop unpack_sockaddr_in6 getaddrinfo)); $ipv6_addr_len = length(pack_sockaddr_in6(161, inet_pton(AF_INET6(), "::1"))); $SNMP_Session::ipv6available = 1; } @@ -14,7 +14,7 @@ if($SNMP_Session::ipv6available) { import IO::Socket::INET6; - import Socket6; -+ Socket6->import(qw(pack_sockaddr_in6 inet_pton getaddrinfo)); ++ Socket6->import(qw(pack_sockaddr_in6 inet_pton inet_ntop unpack_sockaddr_in6 getaddrinfo)); } } |