diff --git a/.gitmodules b/.gitmodules index 06488a037..1b256d3be 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,7 +1,7 @@ [submodule "third-party/dht"] path = third-party/dht url = https://github.com/transmission/dht - branch = post-0.24-transmission + branch = post-0.25-transmission [submodule "third-party/libb64"] path = third-party/libb64 url = https://github.com/transmission/libb64 diff --git a/libtransmission/tr-dht.c b/libtransmission/tr-dht.c index 5fe6b5018..e33aceeb7 100644 --- a/libtransmission/tr-dht.c +++ b/libtransmission/tr-dht.c @@ -841,6 +841,11 @@ int dht_random_bytes(void* buf, size_t size) return size; } +int dht_sendto(int sockfd, void const* buf, int len, int flags, struct sockaddr const* to, int tolen) +{ + return sendto(sockfd, buf, len, flags, to, tolen); +} + #if defined(_WIN32) && !defined(__MINGW32__) int dht_gettimeofday(struct timeval* tv, struct timezone* tz) diff --git a/third-party/dht b/third-party/dht index 80024e5be..25e12bb39 160000 --- a/third-party/dht +++ b/third-party/dht @@ -1 +1 @@ -Subproject commit 80024e5be80a301a84cbd735744790147f8b67f4 +Subproject commit 25e12bb39eea3d433602de6390796fec8a8f3620