fixed a bug in spectre where it would only bind to 127.0.0.1
This commit is contained in:
parent
5ad0bb3f96
commit
01ff53ed6c
1 changed files with 2 additions and 2 deletions
|
|
@ -77,7 +77,7 @@ STOP
|
||||||
if ($shutdown) {
|
if ($shutdown) {
|
||||||
my $remote = create_ikc_client(
|
my $remote = create_ikc_client(
|
||||||
port=>$config->get("port"),
|
port=>$config->get("port"),
|
||||||
ip=>'127.0.0.1',
|
ip=>$config->get("ip"),
|
||||||
name=>rand(100000),
|
name=>rand(100000),
|
||||||
timeout=>10
|
timeout=>10
|
||||||
);
|
);
|
||||||
|
|
@ -113,4 +113,4 @@ sub ping {
|
||||||
undef $remote;
|
undef $remote;
|
||||||
return 0 if ($result eq "pong");
|
return 0 if ($result eq "pong");
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue