diff options
Diffstat (limited to 'regress/sys/kern/sosplice/error/args-EOPNOTSUPP.pl')
-rw-r--r-- | regress/sys/kern/sosplice/error/args-EOPNOTSUPP.pl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/regress/sys/kern/sosplice/error/args-EOPNOTSUPP.pl b/regress/sys/kern/sosplice/error/args-EOPNOTSUPP.pl index 790098618ca..38cdf09550e 100644 --- a/regress/sys/kern/sosplice/error/args-EOPNOTSUPP.pl +++ b/regress/sys/kern/sosplice/error/args-EOPNOTSUPP.pl @@ -2,18 +2,18 @@ use strict; use warnings; -use IO::Socket; +use IO::Socket::IP; use BSD::Socket::Splice "SO_SPLICE"; our %args = ( errno => 'EOPNOTSUPP', func => sub { - my $s = IO::Socket::INET->new( + my $s = IO::Socket::IP->new( Proto => "tcp", Listen => 1, ) or die "socket failed: $!"; - my $ss = IO::Socket::INET->new( + my $ss = IO::Socket::IP->new( Proto => "tcp", ) or die "socket splice failed: $!"; |