Fix uninintialized frame ack field

Fix uninintialized frame ack field when initializing TX slots
This commit is contained in:
XANTRONIX Development 2020-08-20 18:54:03 -05:00 committed by XANTRONIX Industrial
parent 484981de34
commit 06ddf1bbaf

View file

@ -101,6 +101,7 @@ static int init_bufs(patty_ax25_sock *sock) {
struct slot *slot = tx_slot(sock, i);
slot->len = 0;
slot->ack = 0;
}
return 0;