Description: Add inet_ntop into import statement.
Author: Alan Dennis <debianbts8629@aldennis.me.uk>
Bug-Debian: https://bugs.debian.org/781126
Forwarded: not-needed (see https://github.com/sleinen/snmp-session/pull/7)

--- a/lib/SNMP_Session.pm
+++ b/lib/SNMP_Session.pm
@@ -140,7 +140,7 @@ BEGIN {
 
     if (eval {local $SIG{__DIE__};require Socket6;} &&
        eval {local $SIG{__DIE__};require IO::Socket::INET6; IO::Socket::INET6->VERSION("1.26");}) {
-	Socket6->import(qw(inet_pton getaddrinfo));
+	Socket6->import(qw(inet_pton getaddrinfo inet_ntop));
 	$ipv6_addr_len = length(pack_sockaddr_in6(161, inet_pton(AF_INET6(), "::1")));
 	$SNMP_Session::ipv6available = 1;
     }
@@ -850,7 +850,7 @@ use Carp;
 BEGIN {
     if($SNMP_Session::ipv6available) {
 	import IO::Socket::INET6;
-	Socket6->import(qw(inet_pton getaddrinfo));
+	Socket6->import(qw(inet_pton getaddrinfo inet_ntop));
     }
 }
 
