mirror of
https://github.com/webmin/webmin.git
synced 2026-09-15 10:00:40 +01:00
Fix socket tests without Socket6
This commit is contained in:
@@ -5,7 +5,8 @@ use warnings;
|
||||
no warnings qw(once redefine);
|
||||
use Test::More;
|
||||
use FindBin;
|
||||
use Socket;
|
||||
# Import IPv6 helpers even when the optional Socket6 module is absent.
|
||||
use Socket qw(:DEFAULT inet_pton inet_ntop);
|
||||
use Errno qw(ECONNREFUSED);
|
||||
|
||||
my (@events, %connect_ok);
|
||||
|
||||
Reference in New Issue
Block a user