diff options
author | slvr <slvr@unsafeio.com> | 2013-08-10 00:30:18 +0100 |
---|---|---|
committer | slvr <slvr@unsafeio.com> | 2013-08-10 00:43:50 +0100 |
commit | 6052b1f119d2b1494a7f2691f4dfed235b560636 (patch) | |
tree | b3f24c586180ba526baf33e3d3814d3c10b8821d /core/ping.c | |
parent | 1ec95162a0b0c4f54bb97ca39684573e73beac87 (diff) |
network_registerhandler
Diffstat (limited to 'core/ping.c')
-rw-r--r-- | core/ping.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/ping.c b/core/ping.c index 6a1fbb7e..eac71032 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; |