Mrtg also needs to be patched.

Now it throws the following error:
Subroutine main::pack_sockaddr_in6 redefined at /usr/share/perl/5.14/Exporter.pm line 67. at /usr/bin/mrtg line 310

Attached the patch to fix this.
--- mrtg.old    2013-05-15 16:37:53.982842509 +0200
+++ mrtg        2013-05-15 16:37:34.298908639 +0200
@@ -307,7 +307,7 @@
     if ($cfg{enableipv6} eq 'yes') {
         if ( eval {local $SIG{__DIE__};require Socket; require Socket6; 
require IO::Socket::INET6;}) {
             import Socket;
-            import Socket6;
+            Socket6->import(qw(inet_pton getaddrinfo));
             debug('base', "IPv6 libraries found, IPv6 enabled.");
         } else {
             warn "$NOW: WARNING: IPv6 libraries not found, IPv6 disabled.\n";

Reply via email to