include the expiration and messageId in the toString (shown on msg drop due to "unknown tunnel")

This commit is contained in:
jrandom
2004-05-07 03:31:33 +00:00
committed by zzz
parent 2df0007a10
commit 13952ebd8b

View File

@ -146,6 +146,8 @@ public class TunnelMessage extends I2NPMessageImpl {
public String toString() {
StringBuffer buf = new StringBuffer();
buf.append("[TunnelMessage: ");
buf.append("\n\tMessageId: ").append(getUniqueId());
buf.append("\n\tExpiration: ").append(getMessageExpiration());
buf.append("\n\tTunnel ID: ").append(getTunnelId());
buf.append("\n\tVerification Structure: ").append(getVerificationStructure());
buf.append("\n\tEncrypted Instructions: ").append(getEncryptedDeliveryInstructions());