Use patty_ax25_sock_bind_if() in server_connect()
Use patty_ax25_sock_bind_if() in server_connect() to ensure any other functions which must take place are attended to when assigning an interface to a socket
This commit is contained in:
parent
311a8b106f
commit
c2550d075a
1 changed files with 1 additions and 1 deletions
|
@ -740,7 +740,7 @@ static int server_connect(patty_ax25_server *server,
|
|||
goto error_network_down;
|
||||
}
|
||||
|
||||
iface = sock->iface = route->iface;
|
||||
patty_ax25_sock_bind_if(sock, iface = route->iface);
|
||||
|
||||
/*
|
||||
* If there is no local address bound to this sock, then bind the
|
||||
|
|
Loading…
Add table
Reference in a new issue