mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-05-05 09:56:12 +02:00
unetmsg: fix reconnecting outgoing socket
Due to a typo, the rx channel was deleted after disconnect instead of tx. Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
parent
76a18ddad8
commit
41728acc77
@ -334,7 +334,7 @@ function network_open_channel(net, name, peer)
|
||||
let net = networks[sock_data.network];
|
||||
let cur_data = net.tx_channels[sock_data.name];
|
||||
if (cur_data == sock_data)
|
||||
delete net.rx_channels[sock_data.name];
|
||||
delete net.tx_channels[sock_data.name];
|
||||
|
||||
network_tx_socket_close(sock_data);
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user