mirror of
https://github.com/AleziaKurdis/overte.git
synced 2025-04-10 14:53:00 +02:00
parse the nodeType from the correct location in packet
This commit is contained in:
parent
532b0b31f8
commit
c80b5b6be4
1 changed files with 1 additions and 1 deletions
|
@ -93,7 +93,7 @@ int main(int argc, const char * argv[])
|
|||
|
||||
int numBytesSenderHeader = numBytesForPacketHeader(packetData);
|
||||
|
||||
nodeType = packetData[1];
|
||||
nodeType = *(packetData + numBytesSenderHeader);
|
||||
int numBytesSocket = unpackSocket(packetData + numBytesSenderHeader + sizeof(NODE_TYPE),
|
||||
(sockaddr*) &nodeLocalAddress);
|
||||
|
||||
|
|
Loading…
Reference in a new issue