You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
481 B
12 lines
481 B
--- a/bin/mrtg
|
|
+++ b/bin/mrtg
|
|
@@ -300,7 +300,7 @@ sub main {
|
|
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";
|