NetDb: Don't send our RI in response to DSM when shutting down

reverts change from 2015
This commit is contained in:
zzz
2018-12-03 12:23:57 +00:00
parent 633a75e286
commit af2eea5916

View File

@ -252,7 +252,7 @@ class HandleFloodfillDatabaseStoreMessageJob extends JobImpl {
TunnelId replyTunnel = _message.getReplyTunnel();
// A store of our own RI, only if we are not FF
DatabaseStoreMessage msg2;
if ((getContext().netDb().floodfillEnabled() && !getContext().router().gracefulShutdownInProgress()) ||
if (getContext().netDb().floodfillEnabled() ||
storedKey.equals(getContext().routerHash())) {
// don't send our RI if the store was our RI (from PeerTestJob)
msg2 = null;