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); };