diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2016-12-04 10:31:53 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-12-04 10:31:53 +0900 |
| commit | 7a089ae04aff2e4e4dacb97ec12387cd6f407a0e (patch) | |
| tree | 0353c9b5b4fb6f79b7e500d9faf8647c86a3d90a /src/DHTEntryPointNameResolveCommand.h | |
| parent | b24a3c3c2ee3e65c82aa5b04b3b9a1ca9f5e5aae (diff) | |
| parent | 3d5c76800d7d041368eeca34b4bbe5099f35a964 (diff) | |
Merge pull request #794 from aria2/fix-dht-node-resolv
Take into account address family when resolving DHT node address
Diffstat (limited to 'src/DHTEntryPointNameResolveCommand.h')
| -rw-r--r-- | src/DHTEntryPointNameResolveCommand.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/DHTEntryPointNameResolveCommand.h b/src/DHTEntryPointNameResolveCommand.h index 1c70639e..3e131833 100644 --- a/src/DHTEntryPointNameResolveCommand.h +++ b/src/DHTEntryPointNameResolveCommand.h @@ -72,6 +72,8 @@ private: std::deque<std::pair<std::string, uint16_t>> entryPoints_; + int family_; + int numSuccess_; bool bootstrapEnabled_; @@ -85,7 +87,7 @@ private: public: DHTEntryPointNameResolveCommand( - cuid_t cuid, DownloadEngine* e, + cuid_t cuid, DownloadEngine* e, int family, const std::vector<std::pair<std::string, uint16_t>>& entryPoints); virtual ~DHTEntryPointNameResolveCommand(); |
