fix use of printMsg in Netcat

This commit is contained in:
Isaac Connor 2019-10-21 13:18:50 -04:00
parent a486aafa48
commit 5c715ec96b
1 changed files with 1 additions and 1 deletions

View File

@ -132,7 +132,7 @@ sub sendCmd {
my $content_type = shift;
my $result = undef;
printMsg($cmd, 'Tx');
$self->printMsg($cmd, 'Tx');
my $server_endpoint = 'http://'.$address.':'.$port.'/'.$cmd;
my $req = HTTP::Request->new(POST => $server_endpoint);