aboutsummaryrefslogtreecommitdiff
path: root/src/DhtKey.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/DhtKey.cpp')
-rw-r--r--src/DhtKey.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/DhtKey.cpp b/src/DhtKey.cpp
index 422b715..1508657 100644
--- a/src/DhtKey.cpp
+++ b/src/DhtKey.cpp
@@ -24,4 +24,10 @@ namespace odhtdb
infoHash[0] = firstByteOriginalValue + 1;
return infoHash;
}
+
+ dht::InfoHash DhtKey::getPingKey()
+ {
+ infoHash[0] = firstByteOriginalValue + 10;
+ return infoHash;
+ }
}