X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fshow%2Fconnect.pl;h=23b2620bac196f7beebad99057cd4b1c18d942f7;hb=5b3c2c5e342c23fbab96b7573c5963344617878f;hp=98211ddfd31b3dc9d6560fb8d0fa1d8119d703f1;hpb=ee2b26cea53095199ebd04c4977ede501981af1c;p=spider.git diff --git a/cmd/show/connect.pl b/cmd/show/connect.pl index 98211ddf..23b2620b 100644 --- a/cmd/show/connect.pl +++ b/cmd/show/connect.pl @@ -18,8 +18,9 @@ foreach my $call (sort keys %Msg::conns) { my $c = $call; my $addr; - if ($c =~ /^Server\s+(\S+)$/) { + if ($c =~ /^Server\s+(.*)$/) { $addr = $1; + $addr =~ s/\s+using.*$//; $c = "Server"; } else { $addr = "$r->{peerhost}/$r->{peerport}";