engine: server: immediately exit from SV_GetChallenge on unknown type addresses
This commit is contained in:
parent
75b15696f8
commit
448dc720ed
1 changed files with 1 additions and 0 deletions
|
@ -115,6 +115,7 @@ static int SV_GetChallenge( netadr_t from, qboolean *error )
|
||||||
return 0;
|
return 0;
|
||||||
default:
|
default:
|
||||||
*error = true;
|
*error = true;
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
MD5Update( &ctx, (byte *)svs.challenge_salt, sizeof( svs.challenge_salt ));
|
MD5Update( &ctx, (byte *)svs.challenge_salt, sizeof( svs.challenge_salt ));
|
||||||
|
|
Loading…
Add table
Reference in a new issue