diff --git a/perl/NGCP/Rtpengine/AutoTest.pm b/perl/NGCP/Rtpengine/AutoTest.pm index 38fee3bdf..4a90e9b67 100644 --- a/perl/NGCP/Rtpengine/AutoTest.pm +++ b/perl/NGCP/Rtpengine/AutoTest.pm @@ -224,7 +224,7 @@ sub srtp_snd { } sub exts { my ($exts) = @_; - $exts && @$exts or return ''; + return '' unless $exts && @$exts; my $e = ''; my $h; # long format needed if IDs 16+ are used, or if the length is more than 16, or if