summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau2025-05-09 08:11:26 +0000
committerFelix Fietkau2025-05-09 08:12:03 +0000
commit41728acc772a2f0cd5563a57379f321e94f79983 (patch)
tree8e27c3006858b0f7858f4df62ca4e316e67c96b0
parent76a18ddad8a46ccf40c3f88db4c940b4b55c7d12 (diff)
downloadopenwrt-41728acc772a2f0cd5563a57379f321e94f79983.tar.gz
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>
-rw-r--r--package/network/services/unetmsg/files/usr/share/ucode/unetmsg/unetmsgd-remote.uc2
1 files changed, 1 insertions, 1 deletions
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 18ee2a3684..cfb702ad94 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);
};