diff --git a/sbin/spectre.pl b/sbin/spectre.pl index bec7c1d0d..dbd23ac4e 100644 --- a/sbin/spectre.pl +++ b/sbin/spectre.pl @@ -77,7 +77,7 @@ STOP if ($shutdown) { my $remote = create_ikc_client( port=>$config->get("port"), - ip=>'127.0.0.1', + ip=>$config->get("ip"), name=>rand(100000), timeout=>10 ); @@ -113,4 +113,4 @@ sub ping { undef $remote; return 0 if ($result eq "pong"); return 1; -} \ No newline at end of file +}