nts: fix server kod setting
Set the response kod value to zero even if NTS server is disabled.
This commit is contained in:
parent
de752b28de
commit
f020d479e0
1 changed files with 2 additions and 2 deletions
|
@ -96,11 +96,11 @@ NNS_CheckRequestAuth(NTP_Packet *packet, NTP_PacketInfo *info, uint32_t *kod)
|
|||
NKE_Cookie cookie;
|
||||
void *ef_body;
|
||||
|
||||
*kod = 0;
|
||||
|
||||
if (!server)
|
||||
return 0;
|
||||
|
||||
*kod = 0;
|
||||
|
||||
server->num_cookies = 0;
|
||||
server->req_tx = packet->transmit_ts;
|
||||
|
||||
|
|
Loading…
Reference in a new issue