diff options
Diffstat (limited to 'core/ping.c')
-rw-r--r-- | core/ping.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/ping.c b/core/ping.c index 6a1fbb7e..24ece06a 100644 --- a/core/ping.c +++ b/core/ping.c | |||
@@ -163,7 +163,7 @@ int send_ping_response(IP_Port ipp, clientid_t* client_id, uint64_t ping_id) | |||
163 | return sendpacket(ipp, (uint8_t*) &pk, sizeof(pk)); | 163 | return sendpacket(ipp, (uint8_t*) &pk, sizeof(pk)); |
164 | } | 164 | } |
165 | 165 | ||
166 | int handle_ping_request(uint8_t* packet, uint32_t length, IP_Port source) | 166 | int handle_ping_request(IP_Port source, uint8_t* packet, uint32_t length) |
167 | { | 167 | { |
168 | pingreq_t* p = (pingreq_t*) packet; | 168 | pingreq_t* p = (pingreq_t*) packet; |
169 | int rc; | 169 | int rc; |
@@ -190,7 +190,7 @@ int handle_ping_request(uint8_t* packet, uint32_t length, IP_Port source) | |||
190 | return 0; | 190 | return 0; |
191 | } | 191 | } |
192 | 192 | ||
193 | int handle_ping_response(uint8_t* packet, uint32_t length, IP_Port source) | 193 | int handle_ping_response(IP_Port source, uint8_t* packet, uint32_t length) |
194 | { | 194 | { |
195 | pingres_t* p = (pingres_t*) packet; | 195 | pingres_t* p = (pingres_t*) packet; |
196 | int rc; | 196 | int rc; |