mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2025-12-24 21:42:10 -05:00
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>
This commit is contained in:
parent
707a89bc26
commit
f60bbfa23f
@ -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);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user