From 1bad5978ec4d416138af0d6e7bfd39c0df2ea0f8 Mon Sep 17 00:00:00 2001 From: XANTRONIX Development Date: Thu, 23 Jul 2020 01:44:46 -0400 Subject: [PATCH] Better denote command/response frames --- src/print.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/print.c b/src/print.c index fe948e3..3e4c2f4 100644 --- a/src/print.c +++ b/src/print.c @@ -95,7 +95,7 @@ int patty_print_frame_header(FILE *fh, } if (PATTY_AX25_FRAME_CONTROL_I(frame->control)) { - if (fprintf(fh, " type I (%s) %s %s nr %d ns %d pf %d info %zu bytes", + if (fprintf(fh, " type I (%s) %s cr %s nr %d ns %d pf %d info %zu bytes", frame_type(frame->type), version(frame->version), frame_cr(frame->cr), @@ -106,7 +106,7 @@ int patty_print_frame_header(FILE *fh, goto error_io; } } else if (PATTY_AX25_FRAME_CONTROL_U(frame->control)) { - if (fprintf(fh, " type U (%s) %s %s pf %d", + if (fprintf(fh, " type U (%s) %s cr %s pf %d", frame_type(frame->type), version(frame->version), frame_cr(frame->cr), @@ -120,7 +120,7 @@ int patty_print_frame_header(FILE *fh, } } } else if (PATTY_AX25_FRAME_CONTROL_S(frame->control)) { - if (fprintf(fh, " type S (%s) %s %s nr %d pf %d", + if (fprintf(fh, " type S (%s) %s cr %s nr %d pf %d", frame_type(frame->type), version(frame->version), frame_cr(frame->cr),