mirror of
https://github.com/CPunch/Laika.git
synced 2026-02-02 22:50:03 +00:00
Refactored LAIKAPKT_HANDSHAKE_REQ, laikaS_acceptFrom
- added inet member to peer structs
This commit is contained in:
@@ -17,7 +17,9 @@ struct sLaika_peer *laikaS_newPeer(struct sLaika_peerPacketInfo *pktTbl, struct
|
||||
peer->inStart = -1;
|
||||
peer->useSecure = false;
|
||||
|
||||
/* zero-out peer info */
|
||||
memset(peer->hostname, 0, LAIKA_HOSTNAME_LEN);
|
||||
memset(peer->inet, 0, LAIKA_INET_LEN);
|
||||
memset(peer->ipv4, 0, LAIKA_IPV4_LEN);
|
||||
return peer;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user