disable i2cp interface on embedded router

This commit is contained in:
Zlatin Balevsky
2019-06-27 09:56:18 +01:00
parent 92848e818a
commit a9aa3a524f

View File

@@ -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()