Encode I frames as commands

This commit is contained in:
XANTRONIX Development 2020-07-23 01:40:36 -04:00 committed by XANTRONIX Industrial
parent 8d7800fe95
commit f75a78eb4b

View file

@ -579,7 +579,7 @@ ssize_t patty_ax25_sock_write(patty_ax25_sock *sock,
control = control_i(sock, 0);
if (patty_ax25_sock_send(sock, PATTY_AX25_FRAME_RESPONSE, control, buf, len) < 0) {
if (patty_ax25_sock_send(sock, PATTY_AX25_FRAME_COMMAND, control, buf, len) < 0) {
goto error_send;
}