iptables: fix possible NULL pointer access on constructing rule masks
[project/firewall3.git] / ubus.h
diff --git a/ubus.h b/ubus.h
index 1cda487..263f827 100644 (file)
--- a/ubus.h
+++ b/ubus.h
@@ -30,7 +30,7 @@ void fw3_ubus_disconnect(void);
 
 struct fw3_device * fw3_ubus_device(const char *net);
 
-void fw3_ubus_address(struct list_head *list, const char *net);
+int fw3_ubus_address(struct list_head *list, const char *net);
 
 void fw3_ubus_zone_devices(struct fw3_zone *zone);