diff --git a/router/java/src/net/i2p/router/transport/udp/PeerState2.java b/router/java/src/net/i2p/router/transport/udp/PeerState2.java index dc9fbe565f498664645f5a6506b84ed1c44ab3a7..b33c3e0b9cca670ebd0e575c90908c334dc01785 100644 --- a/router/java/src/net/i2p/router/transport/udp/PeerState2.java +++ b/router/java/src/net/i2p/router/transport/udp/PeerState2.java @@ -429,7 +429,7 @@ public class PeerState2 extends PeerState implements SSU2Payload.PayloadCallback } if (header.getType() != DATA_FLAG_BYTE) { if (_log.shouldWarn()) - _log.warn("bad data pkt type " + (header.getType() & 0xff) + " size " + len + " on " + this); + _log.warn("bad data pkt type " + header.getType() + " size " + len + " on " + this); // TODO if it's early: // If inbound, could be a retransmitted Session Confirmed, // ack it again. diff --git a/router/java/src/net/i2p/router/transport/udp/PeerStateDestroyed.java b/router/java/src/net/i2p/router/transport/udp/PeerStateDestroyed.java index 87365fc3fb45101afe425db6255bcfa7494772da..74d6404f3f38efb3770fa656986c7fad17f852ef 100644 --- a/router/java/src/net/i2p/router/transport/udp/PeerStateDestroyed.java +++ b/router/java/src/net/i2p/router/transport/udp/PeerStateDestroyed.java @@ -180,7 +180,7 @@ class PeerStateDestroyed implements SSU2Payload.PayloadCallback, SSU2Sender { } if (header.getType() != DATA_FLAG_BYTE) { if (_log.shouldWarn()) - _log.warn("bad data pkt type " + (header.getType() & 0xff) + " size " + len + " on " + this); + _log.warn("bad data pkt type " + header.getType() + " size " + len + " on " + this); return; } long n = header.getPacketNumber(); @@ -356,8 +356,8 @@ class PeerStateDestroyed implements SSU2Payload.PayloadCallback, SSU2Sender { } public void timeReached() { - if (_log.shouldDebug()) - _log.debug("Done listening for " + PeerStateDestroyed.this); + //if (_log.shouldDebug()) + // _log.debug("Done listening for " + PeerStateDestroyed.this); _ackTimer.cancel(); _transport.removeRecentlyClosed(PeerStateDestroyed.this); _sendCha.destroy();