From 562f6fd4bb05f7ef2c7d1147f256def45ae2b260 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Adrien=20B=C3=A9raud?= <adrien.beraud@savoirfairelinux.com>
Date: Tue, 10 Apr 2018 16:11:25 -0400
Subject: [PATCH] contrib: update OpenDHT to 1.7.0rc6

Change-Id: Ic5ade415fda8f4adbf75ec55d92119f3611bab5a
---
 contrib/src/opendht/SHA512SUMS | 2 +-
 contrib/src/opendht/rules.mak  | 2 +-
 src/ringdht/ringaccount.cpp    | 1 +
 3 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/contrib/src/opendht/SHA512SUMS b/contrib/src/opendht/SHA512SUMS
index 060beba3dc..4b829f25a9 100644
--- a/contrib/src/opendht/SHA512SUMS
+++ b/contrib/src/opendht/SHA512SUMS
@@ -1 +1 @@
-259b3bd0d9b2fabaf93a875e8f4082d0cc9ce9e35b6726b554e6485688dc825d014fad2bf4464bc55f80941f2f0ae365fbea7f6ee0ecda5e08c9d680bf335bc3  opendht-1.7.0rc5.tar.gz
+a69c1879a7d78a60a3b0aca762d7b344619775c657590567904aa4076824ec453fee77fd0ff58c074748a01f937b314bd4041e098bf841a5108cfe7382537d42  opendht-1.7.0rc6.tar.gz
diff --git a/contrib/src/opendht/rules.mak b/contrib/src/opendht/rules.mak
index 864e096737..6f1c092d1f 100644
--- a/contrib/src/opendht/rules.mak
+++ b/contrib/src/opendht/rules.mak
@@ -1,5 +1,5 @@
 # OPENDHT
-OPENDHT_VERSION := 1.7.0rc5
+OPENDHT_VERSION := 1.7.0rc6
 OPENDHT_URL := https://github.com/savoirfairelinux/opendht/archive/$(OPENDHT_VERSION).tar.gz
 
 PKGS += opendht
diff --git a/src/ringdht/ringaccount.cpp b/src/ringdht/ringaccount.cpp
index c5d1bd28b0..a3965a24e5 100644
--- a/src/ringdht/ringaccount.cpp
+++ b/src/ringdht/ringaccount.cpp
@@ -2084,6 +2084,7 @@ RingAccount::doRegister_()
 
         dht::DhtRunner::Config config {};
         config.dht_config.node_config.network = 0;
+        config.dht_config.node_config.maintain_storage = false;
         config.dht_config.id = identity_;
         config.proxy_server = proxyEnabled_ ? proxyServer_ : std::string();
         config.push_node_id = getAccountID();
-- 
GitLab