unetmsg: allow communication between hosts if no service is defined
Some checks are pending
Build Kernel / Build all affected Kernels (push) Waiting to run
Build all core packages / Build all core packages for selected target (push) Waiting to run

Simplifies unet setup

Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
Felix Fietkau 2025-04-11 13:02:19 +02:00
parent f212e8b39f
commit f8ed36f0d7

View File

@ -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;