summaryrefslogtreecommitdiff
path: root/lib/Vyatta/Misc.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Vyatta/Misc.pm')
-rwxr-xr-xlib/Vyatta/Misc.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Vyatta/Misc.pm b/lib/Vyatta/Misc.pm
index 59aff2b..7d47b3c 100755
--- a/lib/Vyatta/Misc.pm
+++ b/lib/Vyatta/Misc.pm
@@ -40,7 +40,7 @@ use Vyatta::Config;
use Vyatta::Interface;
use NetAddr::IP;
use Socket;
-use Socket6;
+Socket6->import(qw(inet_pton getaddrinfo));
#
# returns a hash of ipaddrs => interface