Better denote command/response frames
This commit is contained in:
parent
4f3f8bd5e5
commit
1bad5978ec
1 changed files with 3 additions and 3 deletions
|
@ -95,7 +95,7 @@ int patty_print_frame_header(FILE *fh,
|
||||||
}
|
}
|
||||||
|
|
||||||
if (PATTY_AX25_FRAME_CONTROL_I(frame->control)) {
|
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),
|
frame_type(frame->type),
|
||||||
version(frame->version),
|
version(frame->version),
|
||||||
frame_cr(frame->cr),
|
frame_cr(frame->cr),
|
||||||
|
@ -106,7 +106,7 @@ int patty_print_frame_header(FILE *fh,
|
||||||
goto error_io;
|
goto error_io;
|
||||||
}
|
}
|
||||||
} else if (PATTY_AX25_FRAME_CONTROL_U(frame->control)) {
|
} 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),
|
frame_type(frame->type),
|
||||||
version(frame->version),
|
version(frame->version),
|
||||||
frame_cr(frame->cr),
|
frame_cr(frame->cr),
|
||||||
|
@ -120,7 +120,7 @@ int patty_print_frame_header(FILE *fh,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else if (PATTY_AX25_FRAME_CONTROL_S(frame->control)) {
|
} 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),
|
frame_type(frame->type),
|
||||||
version(frame->version),
|
version(frame->version),
|
||||||
frame_cr(frame->cr),
|
frame_cr(frame->cr),
|
||||||
|
|
Loading…
Add table
Reference in a new issue