1
0
mirror of https://github.com/CPunch/Laika.git synced 2025-11-27 21:41:04 +00:00

Added OSTYPE, added OS info to handshake & peer-related packets

This commit is contained in:
2022-03-17 23:05:18 -05:00
parent 4833dea67f
commit 6f60c7a5b7
12 changed files with 59 additions and 25 deletions

View File

@@ -10,7 +10,8 @@ struct sLaika_peer *laikaS_newPeer(struct sLaika_peerPacketInfo *pktTbl, struct
peer->pList = pList;
peer->uData = uData;
peer->pktSize = 0;
peer->type = PEER_UNVERIFIED;
peer->type = PEER_UNKNWN;
peer->osType = OS_UNKNWN;
peer->pktID = LAIKAPKT_MAXNONE;
peer->setPollOut = false;
peer->outStart = -1;