X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fshow%2Fconnect.pl;h=23b2620bac196f7beebad99057cd4b1c18d942f7;hb=64076dcee56232463135a04c9cee3f8c33ce1ff6;hp=98211ddfd31b3dc9d6560fb8d0fa1d8119d703f1;hpb=6374fb31da62987e676244c38eb6cf73c81bf891;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}";