main: make failing ubus connection nonfatal
authorJo-Philipp Wich <jo@mein.io>
Sun, 6 Nov 2016 15:58:09 +0000 (16:58 +0100)
committerJo-Philipp Wich <jo@mein.io>
Sun, 6 Nov 2016 15:58:09 +0000 (16:58 +0100)
commitc520966c2a92a14c931f411d502ed1a8dedf604d
tree2def21257eaa550025daa4a40ddf57d9d62af332
parent37df903ae8efd88d740b1ed8cc2e0ae384226dd6
main: make failing ubus connection nonfatal

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>
main.c