From a9aa3a524f04ef876878bcde2d6a3db42d2ef714 Mon Sep 17 00:00:00 2001 From: Zlatin Balevsky Date: Thu, 27 Jun 2019 09:56:18 +0100 Subject: [PATCH] disable i2cp interface on embedded router --- core/src/main/groovy/com/muwire/core/Core.groovy | 1 + 1 file changed, 1 insertion(+) diff --git a/core/src/main/groovy/com/muwire/core/Core.groovy b/core/src/main/groovy/com/muwire/core/Core.groovy index 844ac30a..34a46820 100644 --- a/core/src/main/groovy/com/muwire/core/Core.groovy +++ b/core/src/main/groovy/com/muwire/core/Core.groovy @@ -103,6 +103,7 @@ public class Core { routerProps.setProperty("i2p.dir.config", home.getAbsolutePath()) routerProps.setProperty("i2np.inboundKBytesPerSecond", String.valueOf(props.inBw)) routerProps.setProperty("i2np.outboundKBytesPerSecond", String.valueOf(props.outBw)) + routerProps.setProperty("i2cp.disableInterface", "true") router = new Router(routerProps) I2PAppContext.getGlobalContext().metaClass = new RouterContextMetaClass() router.runRouter()