Fix handling of SOCK_RAW frames
Fix issue handling SOCK_RAW frames wherein patty_ax25_sock_send() is used instead of patty_ax25_if_send() to send frames through the interface bound to the socket
This commit is contained in:
parent
bec778de7b
commit
26716a5b2a
1 changed files with 1 additions and 1 deletions
|
@ -2120,7 +2120,7 @@ static int handle_sock_raw(patty_ax25_server *server,
|
|||
break;
|
||||
}
|
||||
|
||||
if (patty_ax25_sock_send(sock, sock->iface->tx_buf, len) < 0) {
|
||||
if (patty_ax25_if_send(sock->iface, sock->iface->tx_buf, len) < 0) {
|
||||
goto error_io;
|
||||
}
|
||||
} while (patty_ax25_sock_recv_pending(sock));
|
||||
|
|
Loading…
Add table
Reference in a new issue