diff --git a/ncat/test/ncat-test.pl b/ncat/test/ncat-test.pl index 64a872750..9a49a75e4 100755 --- a/ncat/test/ncat-test.pl +++ b/ncat/test/ncat-test.pl @@ -74,7 +74,7 @@ sub wait_listen { } sub ncat_server { - my @ret = ncat($HOST, $PORT, "--test", "-l", @_); + my @ret = ncat($PORT, "--test", "-l", @_); wait_listen($ret[3]); return @ret; }