From 98d32cd170fb018c2cf32c381804754678543bd0 Mon Sep 17 00:00:00 2001 From: Richard Fuchs Date: Thu, 13 Mar 2025 14:27:40 -0400 Subject: [PATCH] MT#55283 use perl ::IP module Allows connecting to IPv6 addresses Closes #1915 Change-Id: I6efe5bc5afd537507d1e88445cc9690b6abf1894 --- utils/rtpengine-ctl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/rtpengine-ctl b/utils/rtpengine-ctl index 62dd1a268..795ce2c65 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; @@ -55,7 +55,7 @@ if ($help || !$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',