mirror of
https://github.com/openwrt/openwrt.git
synced 2026-06-20 03:31:57 +04:00
7fd71f2c74
When a remote peer's connection drops (device powered off, unetmsgd crash, network failure), network_rx_cleanup_state silently removed the remote publish/subscribe handles without notifying local subscribers. This meant local clients had no way to detect that a remote peer had disappeared. Call handle_publish for each channel where a remote publish handle is removed during connection cleanup, so local subscribers receive the publisher change notification and can react accordingly. Signed-off-by: John Crispin <john@phrozen.org>