else
{
if (!fw3_ubus_connect())
- error("Failed to connect to ubus");
+ warn("Failed to connect to ubus");
if (uci_load(state->uci, "firewall", &p))
{
fw3_ubus_rules(&b);
fw3_load_defaults(state, p);
- fw3_load_ipsets(state, p);
+ fw3_load_ipsets(state, p, b.head);
fw3_load_zones(state, p);
fw3_load_rules(state, p, b.head);
- fw3_load_redirects(state, p);
+ fw3_load_redirects(state, p, b.head);
fw3_load_snats(state, p, b.head);
- fw3_load_forwards(state, p);
- fw3_load_includes(state, p);
+ fw3_load_forwards(state, p, b.head);
+ fw3_load_includes(state, p, b.head);
return true;
}