diff options
Diffstat (limited to 'testing/DHT_test.c')
-rw-r--r-- | testing/DHT_test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/DHT_test.c b/testing/DHT_test.c index c8af599a..be2f0168 100644 --- a/testing/DHT_test.c +++ b/testing/DHT_test.c | |||
@@ -123,7 +123,7 @@ int main(int argc, char *argv[]) | |||
123 | 123 | ||
124 | while(recievepacket(&ip_port, data, &length) != -1) | 124 | while(recievepacket(&ip_port, data, &length) != -1) |
125 | { | 125 | { |
126 | if(DHT_recvpacket(data, length, ip_port)) | 126 | if(DHT_handlepacket(data, length, ip_port)) |
127 | { | 127 | { |
128 | printf("UNHANDLED PACKET RECEIVED\nLENGTH:%u\nCONTENTS:\n", length); | 128 | printf("UNHANDLED PACKET RECEIVED\nLENGTH:%u\nCONTENTS:\n", length); |
129 | printf("--------------------BEGIN-----------------------------\n"); | 129 | printf("--------------------BEGIN-----------------------------\n"); |