summaryrefslogtreecommitdiff
path: root/src/DefaultBtAnnounce.cc
diff options
context:
space:
mode:
authorNagi5Yeq <wu@x-nagi.com>2021-02-05 16:27:05 +0800
committerNagi5Yeq <wu@x-nagi.com>2021-02-05 16:27:05 +0800
commitff92e2f4e0724db321c9cbeb34ab5d78ba1af036 (patch)
tree6e473c39e705743340e3fcbee3df4c707e69dcf4 /src/DefaultBtAnnounce.cc
parent32ebcdbc8290474b63d78d357847eebea8cb9ad9 (diff)
sending ipv6 address is not necessary because the asynchronous resolution problem is fixedrearrange-args
Diffstat (limited to 'src/DefaultBtAnnounce.cc')
-rw-r--r--src/DefaultBtAnnounce.cc5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/DefaultBtAnnounce.cc b/src/DefaultBtAnnounce.cc
index 17daa390..9f684bff 100644
--- a/src/DefaultBtAnnounce.cc
+++ b/src/DefaultBtAnnounce.cc
@@ -198,11 +198,6 @@ std::string DefaultBtAnnounce::getAnnounceUrl()
uri += "&ip=";
uri += option_->get(PREF_BT_EXTERNAL_IP);
}
- const char* globalIpv6Addr = net::getGlobalIpv6Addr();
- if (globalIpv6Addr != nullptr) {
- uri += "&ipv6=";
- uri += globalIpv6Addr;
- }
return uri;
}