diff options
Diffstat (limited to 'core/DHT.c')
-rw-r--r-- | core/DHT.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -1076,11 +1076,11 @@ static void doNAT(void) | |||
1076 | 1076 | ||
1077 | void DHT_init(void) | 1077 | void DHT_init(void) |
1078 | { | 1078 | { |
1079 | networking_registerhandler(0, &handle_ping_request); | 1079 | networking_registerhandler(0, &handle_ping_request); |
1080 | networking_registerhandler(1, &handle_ping_response); | 1080 | networking_registerhandler(1, &handle_ping_response); |
1081 | networking_registerhandler(2, &handle_getnodes); | 1081 | networking_registerhandler(2, &handle_getnodes); |
1082 | networking_registerhandler(3, &handle_sendnodes); | 1082 | networking_registerhandler(3, &handle_sendnodes); |
1083 | networking_registerhandler(254, &handle_NATping); | 1083 | networking_registerhandler(254, &handle_NATping); |
1084 | } | 1084 | } |
1085 | 1085 | ||
1086 | void doDHT(void) | 1086 | void doDHT(void) |