projects
/
umurmur.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
477a4a1
)
Must enable UDP when receiving ping packets too.
author
fatbob313
<martin@fatbob.nu>
Sun, 7 Feb 2010 16:13:52 +0000
(16:13 +0000)
committer
fatbob313
<martin@fatbob.nu>
Sun, 7 Feb 2010 16:13:52 +0000
(16:13 +0000)
src/client.c
patch
|
blob
|
history
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;
}
+ 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: