disable i2cp interface on embedded router

pull/5/head
Zlatin Balevsky 2019-06-27 09:56:18 +01:00
parent 92848e818a
commit a9aa3a524f
1 changed files with 1 additions and 0 deletions

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