diff options
| author | Felix Fietkau | 2025-05-16 10:58:19 +0000 |
|---|---|---|
| committer | Felix Fietkau | 2025-05-16 11:01:41 +0000 |
| commit | f60bbfa23fd11fa6e2d79ebeae28fe791cef5dfa (patch) | |
| tree | df31986e9ab8b51a45277260b02ad92e7ed451bd | |
| parent | 707a89bc264e0a2b6593da753301912d7ec40f77 (diff) | |
| download | openwrt-f60bbfa23fd11fa6e2d79ebeae28fe791cef5dfa.tar.gz | |
unetmsg: list remotely published ids via ubus call
Before this change, only locally published ids were listed
Signed-off-by: Felix Fietkau <nbd@nbd.name>
| -rwxr-xr-x | package/network/services/unetmsg/files/usr/sbin/unetmsgd | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/network/services/unetmsg/files/usr/sbin/unetmsgd b/package/network/services/unetmsg/files/usr/sbin/unetmsgd index aa21053ca9..09d9fcdd7d 100755 --- a/package/network/services/unetmsg/files/usr/sbin/unetmsgd +++ b/package/network/services/unetmsg/files/usr/sbin/unetmsgd @@ -38,7 +38,7 @@ let obj = ubus.publish("unetmsg", { }, call: function(req) { let ret = []; - for (let name in core.publish) + for (let name in { ...core.publish, ...core.remote_publish }) if (req.args.name == null || wildcard(name, req.args.name)) push(ret, name); |