1
0
mirror of https://github.com/CPunch/Laika.git synced 2026-01-12 14:40:05 +00:00

added default peer::type, PEER_UNVERIFIED

This commit is contained in:
2022-01-30 19:22:02 -06:00
parent 282516797e
commit 9291dbf823
3 changed files with 4 additions and 0 deletions

View File

@@ -13,6 +13,7 @@ struct sLaika_peer *laikaS_newPeer(PeerPktHandler *handlers, LAIKAPKT_SIZE *pktS
peer->priv = NULL;
peer->pub = NULL;
peer->pktSize = 0;
peer->type = PEER_UNVERIFIED;
peer->pktID = LAIKAPKT_MAXNONE;
peer->setPollOut = false;
return peer;