diff options
Diffstat (limited to 'other/bootstrap_node_packets.c')
-rw-r--r-- | other/bootstrap_node_packets.c | 2 |
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 | */ |
37 | static int handle_info_request(void *object, IP_Port source, const uint8_t *packet, uint32_t length) | 37 | static 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; |