X-Git-Url: http://gb7djk.dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fspoof.pl;h=c6d93e78da0bb8951d9aa07f978ebf3d0f7f0d85;hb=d0b55caa8a609da9ccc5ea59bb376795a99d04b5;hp=e0194a1178e1bfd5b09eba285da1e9a34a304eb5;hpb=7041df7e50995e06e2cd0becb28c1b0ba69fffe2;p=spider.git diff --git a/cmd/spoof.pl b/cmd/spoof.pl index e0194a11..c6d93e78 100644 --- a/cmd/spoof.pl +++ b/cmd/spoof.pl @@ -35,7 +35,8 @@ unless ($user) { # set up basic environment $self->call($call); $self->user($user); -Log('DXCommand', "spoof '$newline' as $call by $mycall"); +my $addr = $self->hostname || '127.0.0.1' +Log('cmd', "$self->{call}|$addr|spoof|$line"); my @in = $self->run_cmd($newline); push @out, map {"spoof $call: $_"} @in; $self->call($mycall);