From e29281fc8c6be3a97dab615bd45b257dd35230e7 Mon Sep 17 00:00:00 2001 From: Jose Damico Date: Fri, 8 Dec 2023 17:57:39 -0300 Subject: [PATCH] fixed wrong string representation of a packet --- src/main/java/org/jdamico/javax25/ax25/Packet.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/jdamico/javax25/ax25/Packet.java b/src/main/java/org/jdamico/javax25/ax25/Packet.java index 746dc7e..7681d24 100644 --- a/src/main/java/org/jdamico/javax25/ax25/Packet.java +++ b/src/main/java/org/jdamico/javax25/ax25/Packet.java @@ -314,7 +314,7 @@ public static String format(byte[] packet) { StringBuilder builder = new StringBuilder(); - builder.append("["); + //builder.append("["); builder.append(source); builder.append('>'); @@ -338,7 +338,7 @@ public static String format(byte[] packet) { } //builder.append(Arrays.toString(packet)); */ - builder.append("]"); + //builder.append("]"); return builder.toString(); }