From 41728acc772a2f0cd5563a57379f321e94f79983 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Fri, 9 May 2025 10:11:26 +0200 Subject: [PATCH] unetmsg: fix reconnecting outgoing socket Due to a typo, the rx channel was deleted after disconnect instead of tx. Signed-off-by: Felix Fietkau --- .../unetmsg/files/usr/share/ucode/unetmsg/unetmsgd-remote.uc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/network/services/unetmsg/files/usr/share/ucode/unetmsg/unetmsgd-remote.uc b/package/network/services/unetmsg/files/usr/share/ucode/unetmsg/unetmsgd-remote.uc index 18ee2a3684c..cfb702ad948 100644 --- a/package/network/services/unetmsg/files/usr/share/ucode/unetmsg/unetmsgd-remote.uc +++ b/package/network/services/unetmsg/files/usr/share/ucode/unetmsg/unetmsgd-remote.uc @@ -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); };