Skip to content

Commit 65869bc

Browse files
committed
Issue 366 - Remove 0x from pid in monitor header.
1 parent eef35cf commit 65869bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/server.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1042,7 +1042,7 @@ static char mon_desc (packet_t pp, char *result, int result_size)
10421042

10431043
switch (ftype) {
10441044

1045-
case frame_type_I: snprintf (result, result_size, "<I S%d R%d pid=0x%02X Len=%d %s=%d >", ns, nr, ax25_get_pid(pp), info_len, pf_text, pf); return ('I');
1045+
case frame_type_I: snprintf (result, result_size, "<I S%d R%d pid=%02X Len=%d %s=%d >", ns, nr, ax25_get_pid(pp), info_len, pf_text, pf); return ('I');
10461046

10471047
case frame_type_U_UI: snprintf (result, result_size, "<UI pid=%02X Len=%d %s=%d >", ax25_get_pid(pp), info_len, pf_text, pf); return ('U'); break;
10481048

0 commit comments

Comments
 (0)