Send REJ implicitly for out-of-order I frames
Send REJ implicitly for out-of-order I frames, regardless of I frame P/F flag
This commit is contained in:
parent
62c116a17c
commit
05cac588f2
1 changed files with 1 additions and 2 deletions
|
@ -1307,8 +1307,7 @@ static int handle_i(patty_ax25_server *server,
|
|||
if (sock->seq_recv == frame->ns) {
|
||||
patty_ax25_sock_seq_recv_incr(sock);
|
||||
} else {
|
||||
return frame->pf?
|
||||
patty_ax25_sock_send_rej(sock, PATTY_AX25_FRAME_RESPONSE, 0): 0;
|
||||
return patty_ax25_sock_send_rej(sock, PATTY_AX25_FRAME_RESPONSE, 1);
|
||||
}
|
||||
|
||||
if (write(sock->fd, frame->info, frame->infolen) < 0) {
|
||||
|
|
Loading…
Add table
Reference in a new issue