From: fatbob313 Date: Sun, 7 Feb 2010 16:13:52 +0000 (+0000) Subject: Must enable UDP when receiving ping packets too. X-Git-Url: http://git.code-monkey.de/?p=umurmur.git;a=commitdiff_plain;h=c26a4b9cbad862bce96e3dadcfaa85f7e2223de3 Must enable UDP when receiving ping packets too. --- diff --git a/src/client.c b/src/client.c index b72e46f..1419347 100644 --- a/src/client.c +++ b/src/client.c @@ -662,13 +662,13 @@ int Client_read_udp() goto out; } + itr->bUDP = true; len -= 4; /* Adjust for crypt header */ msgType = (UDPMessageType_t)((buffer[0] >> 5) & 0x7); switch (msgType) { case UDPVoiceSpeex: case UDPVoiceCELTAlpha: case UDPVoiceCELTBeta: - itr->bUDP = true; Client_voiceMsg(itr, buffer, len); break; case UDPPing: