Slightly rethinking something
This commit is contained in:
parent
eb45bd192d
commit
df466dc02b
2 changed files with 2 additions and 3 deletions
|
@ -40,7 +40,7 @@ typedef struct _patty_ax25_sock {
|
|||
int fd;
|
||||
char path[PATTY_AX25_SOCK_PATH_SIZE];
|
||||
|
||||
patty_ax25_route *route;
|
||||
patty_ax25_if *iface;
|
||||
|
||||
patty_ax25_addr local,
|
||||
remote,
|
||||
|
|
|
@ -1001,8 +1001,7 @@ static int handle_sock(void *key,
|
|||
void *ctx) {
|
||||
patty_ax25_server *server = ctx;
|
||||
patty_ax25_sock *sock = value;
|
||||
patty_ax25_route *route = sock->route;
|
||||
patty_ax25_if *iface = route->iface;
|
||||
patty_ax25_if *iface = sock->iface;
|
||||
|
||||
int fd = (int)(key - NULL),
|
||||
fd_tnc = patty_kiss_tnc_fd(iface->tnc);
|
||||
|
|
Loading…
Add table
Reference in a new issue