The ubus network runtime information is not strictly required to use firewall3,
so make a failing ubus connection nonfatal.
This allows testing and running firewall3 on an ordinary desktop linux system,
given an appropriate configuration which uses "option device" instead of
"option network" for zone declarations.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
else
{
if (!fw3_ubus_connect())
- error("Failed to connect to ubus");
+ warn("Failed to connect to ubus");
if (uci_load(state->uci, "firewall", &p))
{