log fix, comment fix

This commit is contained in:
zzz
2015-02-23 09:50:43 +00:00
parent ce041dfbc1
commit b0ea1d691a
2 changed files with 2 additions and 2 deletions

View File

@@ -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;

View File

@@ -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)
*/