diff options
-rw-r--r-- | src/ubus.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -246,7 +246,7 @@ void ubus_apply_network(void) bool cmatched = !strcmp(interface, c->name) || !strcmp(ifname, c->ifname); matched |= cmatched; - if (!cmatched && (!f || (f != c->upstream && f[-1] != 0))) + if (!cmatched && (!c->upstream_len || !f || (f != c->upstream && f[-1] != 0))) continue; if (!c->ignore) |