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),