Fix patty_ax25_frame_decode_control() P/F flag bug
Fix patty_ax25_frame_decode_control() P/F flag bug which occurred due to not implicitly using the 8-bit control field format when parsing U frames
This commit is contained in:
parent
fa53b8d49d
commit
edfc32ce33
1 changed files with 1 additions and 1 deletions
|
@ -240,7 +240,7 @@ ssize_t patty_ax25_frame_decode_control(patty_ax25_frame *frame,
|
|||
case PATTY_AX25_FRAME_XID:
|
||||
case PATTY_AX25_FRAME_TEST:
|
||||
frame->type = c;
|
||||
frame->pf = decode_pf(frame->control, format);
|
||||
frame->pf = decode_pf(frame->control, PATTY_AX25_FRAME_NORMAL);
|
||||
|
||||
default:
|
||||
break;
|
||||
|
|
Loading…
Add table
Reference in a new issue