mirror of
https://github.com/openwrt/openwrt.git
synced 2025-04-13 22:23:38 +00:00
unetmsg: allow communication between hosts if no service is defined
Simplifies unet setup Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
parent
f212e8b39f
commit
f8ed36f0d7
@ -99,7 +99,7 @@ function network_socket_handle_request(sock_data, req)
|
||||
if (list[name])
|
||||
return 0;
|
||||
|
||||
let allowed;
|
||||
let allowed = net.peers[host].allowed == null;
|
||||
for (let cur in net.peers[host].allowed) {
|
||||
if (!wildcard(name, cur))
|
||||
continue;
|
||||
|
Loading…
x
Reference in New Issue
Block a user