summaryrefslogtreecommitdiff
path: root/other/bootstrap_node_packets.c
diff options
context:
space:
mode:
authormannol <eniz_vukovic@hotmail.com>2015-03-22 00:21:49 +0100
committermannol <eniz_vukovic@hotmail.com>2015-03-22 00:22:40 +0100
commita4fae8ffd49e298cd87e13be2496faf77e492bd9 (patch)
tree285ed6e22db90db713dc6938160d24e3857c6e5f /other/bootstrap_node_packets.c
parent4f76a8c89eea77ebc190a324ad128e3c7dda298c (diff)
parent4ad76497881ee2a623acdedcf0ac10406208b716 (diff)
Started testing transfer
Diffstat (limited to 'other/bootstrap_node_packets.c')
-rw-r--r--other/bootstrap_node_packets.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/other/bootstrap_node_packets.c b/other/bootstrap_node_packets.c
index e8df3289..0bf9b9b0 100644
--- a/other/bootstrap_node_packets.c
+++ b/other/bootstrap_node_packets.c
@@ -34,7 +34,7 @@ static uint16_t bootstrap_motd_length;
34/* To request this packet just send a packet of length INFO_REQUEST_PACKET_LENGTH 34/* To request this packet just send a packet of length INFO_REQUEST_PACKET_LENGTH
35 * with the first byte being BOOTSTRAP_INFO_PACKET_ID 35 * with the first byte being BOOTSTRAP_INFO_PACKET_ID
36 */ 36 */
37static int handle_info_request(void *object, IP_Port source, const uint8_t *packet, uint32_t length) 37static int handle_info_request(void *object, IP_Port source, const uint8_t *packet, uint16_t length)
38{ 38{
39 if (length != INFO_REQUEST_PACKET_LENGTH) 39 if (length != INFO_REQUEST_PACKET_LENGTH)
40 return 1; 40 return 1;