diff --git a/utils/rtpengine-ctl b/utils/rtpengine-ctl index 2c02f1421..2def57155 100755 --- a/utils/rtpengine-ctl +++ b/utils/rtpengine-ctl @@ -3,7 +3,7 @@ use strict; use warnings; -use IO::Socket::INET; +use IO::Socket::IP; use Getopt::Long; use Config::Tiny; @@ -51,7 +51,7 @@ if (!$argumentstring || !$optret || $port <= 0 || $port > 65535) { } # create a connecting socket -my $socket = IO::Socket::INET->new( +my $socket = IO::Socket::IP->new( PeerHost => $ip, PeerPort => $port, Proto => 'tcp',