mirror of
https://github.com/eliasstepanik/ark-ac-server-tools.git
synced 2026-01-21 14:28:27 +00:00
Fix RCON authentication failed test
This commit is contained in:
parent
461729259c
commit
2bc099f1a3
BIN
tools/.arkmanager.swp
Normal file
BIN
tools/.arkmanager.swp
Normal file
Binary file not shown.
@ -394,7 +394,7 @@ rconcmd() {
|
|||||||
my $reqid = 1;
|
my $reqid = 1;
|
||||||
sendpkt($sock, $reqid, 3, $password);
|
sendpkt($sock, $reqid, 3, $password);
|
||||||
my ($resid, $restype, $rcvbody) = recvpkt($sock);
|
my ($resid, $restype, $rcvbody) = recvpkt($sock);
|
||||||
die "Authentication failed" if $resid == -1;
|
die "Authentication failed" if $resid == -1 or $resid == 0xFFFFFFFF;
|
||||||
}
|
}
|
||||||
|
|
||||||
my $port = $ARGV[0];
|
my $port = $ARGV[0];
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user