Add KeepalivePacketData toString()

Test: build
Bug: 218569712
Change-Id: I24c0e7ab94212ddf71812ebcc81a5fa69abfa860
This commit is contained in:
Ling Ma
2022-02-11 11:05:35 -08:00
parent 2a947ceb50
commit 4d782d6d74

View File

@@ -116,4 +116,13 @@ public class KeepalivePacketData {
return mPacket.clone();
}
@Override
public String toString() {
return "KeepalivePacketData[srcAddress=" + mSrcAddress
+ ", dstAddress=" + mDstAddress
+ ", srcPort=" + mSrcPort
+ ", dstPort=" + mDstPort
+ ", packet.length=" + mPacket.length
+ ']';
}
}