ubus: add support for getting a list of remote hosts
[project/usteer.git] / remote.c
index 64375be84fe5fade083f8252dc7f6643c249aef3..e5b27972d652f6cb9b88bce96317f036dbdfafd5 100644 (file)
--- a/remote.c
+++ b/remote.c
@@ -60,7 +60,7 @@ static int remote_host_cmp(const void *k1, const void *k2, void *ptr)
 
 static VLIST_TREE(interfaces, avl_strcmp, interfaces_update_cb, true, true);
 LIST_HEAD(remote_nodes);
-static AVL_TREE(remote_hosts, remote_host_cmp, false, NULL);
+AVL_TREE(remote_hosts, remote_host_cmp, false, NULL);
 
 static const char *
 interface_name(struct interface *iface)