diff options
Diffstat (limited to 'opentracker.c')
-rw-r--r-- | opentracker.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/opentracker.c b/opentracker.c index 656764d..b4386c6 100644 --- a/opentracker.c +++ b/opentracker.c | |||
@@ -608,7 +608,8 @@ static void handle_udp4( int64 serversocket ) { | |||
608 | /* Create fake packet to satisfy parser on the other end */ | 608 | /* Create fake packet to satisfy parser on the other end */ |
609 | outpacket[0] = htonl( 1 ); | 609 | outpacket[0] = htonl( 1 ); |
610 | outpacket[1] = inpacket[12/4]; | 610 | outpacket[1] = inpacket[12/4]; |
611 | outpacket[2] = outpacket[3] = outpacket[4] = 0; | 611 | outpacket[2] = OT_CLIENT_REQUEST_INTERVAL_RANDOM; |
612 | outpacket[3] = outpacket[4] = 0; | ||
612 | socket_send4( serversocket, static_outbuf, 20, remoteip, port ); | 613 | socket_send4( serversocket, static_outbuf, 20, remoteip, port ); |
613 | } else { | 614 | } else { |
614 | torrent = add_peer_to_torrent( hash, &peer ); | 615 | torrent = add_peer_to_torrent( hash, &peer ); |