ubus: let fw3_ubus_address() return the number of resolved addresses
authorJo-Philipp Wich <jo@mein.io>
Wed, 7 Jun 2017 13:17:42 +0000 (15:17 +0200)
committerJo-Philipp Wich <jo@mein.io>
Tue, 13 Feb 2018 14:13:40 +0000 (15:13 +0100)
commit392811a5c468960fa9c178f8de31560224ee7069
treef771c8e299225fee8e366b66cdaecd8e671aa6ff
parentc4309372acc7e1bef8aa230269f7da1dec790e68
ubus: let fw3_ubus_address() return the number of resolved addresses

Change fw3_ubus_address() to return the number of addresses resolved from
the given network name, this will be required to handle failed resolving
in higher layers later on.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
ubus.c
ubus.h