mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-02-17 01:11:45 +00:00
set the default rcon_address port to 27500 rather than 0
This commit is contained in:
parent
694619cd70
commit
dec9503620
1 changed files with 2 additions and 0 deletions
|
@ -394,6 +394,8 @@ CL_Rcon_f (void)
|
|||
return;
|
||||
}
|
||||
NET_StringToAdr (rcon_address->string, &to);
|
||||
if (to.port == 0)
|
||||
to.port = BigShort (27500);
|
||||
}
|
||||
|
||||
NET_SendPacket (strlen (message) + 1, message, to);
|
||||
|
|
Loading…
Reference in a new issue