diff --git a/router/java/src/net/i2p/router/transport/UPnP.java b/router/java/src/net/i2p/router/transport/UPnP.java index ebbcc1b97c19bda0f6e6747c346f760d48467d33..6753c09fcc927aaf958c83584fc9e2484fe1a333 100644 --- a/router/java/src/net/i2p/router/transport/UPnP.java +++ b/router/java/src/net/i2p/router/transport/UPnP.java @@ -870,7 +870,7 @@ class UPnP extends ControlPoint implements DeviceChangeListener, EventListener { Service service; synchronized(lock) { if(isDisabled || !isNATPresent()) { - _log.error("Can't addMapping: " + isDisabled + " " + isNATPresent() + " " + _router); + _log.error("Can't removeMapping: " + isDisabled + " " + isNATPresent() + " " + _router); return false; } service = _service; diff --git a/router/java/src/net/i2p/router/tunnel/BuildMessageGenerator.java b/router/java/src/net/i2p/router/tunnel/BuildMessageGenerator.java index c6ddbb1b03a41488e14eb974453d2ac39e108580..57a6f022249bd8f0cc987fd1f40cca586fb02f07 100644 --- a/router/java/src/net/i2p/router/tunnel/BuildMessageGenerator.java +++ b/router/java/src/net/i2p/router/tunnel/BuildMessageGenerator.java @@ -154,7 +154,7 @@ public abstract class BuildMessageGenerator { * Encrypt the records so their hop ident is visible at the appropriate times. * * Note that this layer-encrypts the build records for the message in-place. - * Only call this onece for a given message. + * Only call this once for a given message. * * @param order list of hop #s as Integers. For instance, if (order.get(1) is 4), it is peer cfg.getPeer(4) */