From: Dirk Koopman Date: Mon, 27 Apr 2020 18:47:30 +0000 (+0100) Subject: strip off extra brackets in pc61 ip storage X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=a8231fd4a9b0626eaa5ec376a3fb0ee371854649;p=spider.git strip off extra brackets in pc61 ip storage --- diff --git a/perl/DXProtHandle.pm b/perl/DXProtHandle.pm index 9921d828..0c71e590 100644 --- a/perl/DXProtHandle.pm +++ b/perl/DXProtHandle.pm @@ -241,7 +241,7 @@ sub handle_11 } if (isdbg('progress')) { - my $sip = $ip ? sprintf "($ip$implied)" : ''; + my $sip = $ip ? sprintf "($ip$implied)" : '' unless $ip =~ m|[\(\)\*]|; my $s = sprintf "SPOT: $spot[1] on $spot[0] \@ %s by $spot[4]$sip\@$spot[7]", cldatetime($spot[2]); $s .= " '$spot[3]'" if $spot[3]; dbg($s);