[openwrt/openwrt] unetmsg: fix reconnecting outgoing socket
LEDE Commits
lede-commits at lists.infradead.org
Fri May 9 01:12:10 PDT 2025
nbd pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/41728acc772a2f0cd5563a57379f321e94f79983
commit 41728acc772a2f0cd5563a57379f321e94f79983
Author: Felix Fietkau <nbd at nbd.name>
AuthorDate: Fri May 9 10:11:26 2025 +0200
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 at nbd.name>
---
.../services/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 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);
};
More information about the lede-commits
mailing list