mirror of
https://github.com/CPunch/Laika.git
synced 2025-10-26 16:20:05 +00:00
Refactored LAIKAPKT_HANDSHAKE_REQ, laikaS_acceptFrom
- added inet member to peer structs
This commit is contained in:
@@ -20,6 +20,7 @@ void laikaC_sendNewPeer(struct sLaika_peer *authPeer, struct sLaika_peer *peer)
|
||||
/* write the peer's info */
|
||||
laikaS_write(&authPeer->sock, peer->peerPub, sizeof(peer->peerPub));
|
||||
laikaS_write(&authPeer->sock, peer->hostname, LAIKA_HOSTNAME_LEN);
|
||||
laikaS_write(&authPeer->sock, peer->inet, LAIKA_INET_LEN);
|
||||
laikaS_write(&authPeer->sock, peer->ipv4, LAIKA_IPV4_LEN);
|
||||
laikaS_writeByte(&authPeer->sock, peer->type);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user