Skip to content

Commit

Permalink
fixed wrong string representation of a packet
Browse files Browse the repository at this point in the history
  • Loading branch information
damico committed Dec 8, 2023
1 parent 93641e7 commit e29281f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/org/jdamico/javax25/ax25/Packet.java
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ public static String format(byte[] packet) {


StringBuilder builder = new StringBuilder();
builder.append("[");
//builder.append("[");

builder.append(source);
builder.append('>');
Expand All @@ -338,7 +338,7 @@ public static String format(byte[] packet) {
}
//builder.append(Arrays.toString(packet));
*/
builder.append("]");
//builder.append("]");
return builder.toString();

}
Expand Down

0 comments on commit e29281f

Please sign in to comment.