projects
/
umurmur.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Must enable UDP when receiving ping packets too.
[umurmur.git]
/
src
/
client.c
diff --git
a/src/client.c
b/src/client.c
index b72e46f06443952139d1588bb3763486b67f8c78..141934735629e96c9587cc16156505ff0de49cdf 100644
(file)
--- a/
src/client.c
+++ b/
src/client.c
@@
-662,13
+662,13
@@
int Client_read_udp()
goto out;
}
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:
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:
Client_voiceMsg(itr, buffer, len);
break;
case UDPPing: