make fw3_ubus_address take a list_head * argument instead of allocating & returning one
[project/firewall3.git] / ubus.h
diff --git a/ubus.h b/ubus.h
index 35eac90..58e598c 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);
 
-struct list_head * fw3_ubus_address(const char *net);
+void fw3_ubus_address(struct list_head *list, const char *net);
 
 void fw3_ubus_zone_devices(struct fw3_zone *zone);