mirror of
https://github.com/i2p/i2p.i2p.git
synced 2024-12-06 19:27:00 +01:00
NetDb: Don't send our RI in response to DSM when shutting down
reverts change from 2015
This commit is contained in:
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user