Access cached records (instead of services) to read list of hosts
[project/mdnsd.git] / cache.c
diff --git a/cache.c b/cache.c
index 756ae6859983c16653ddb7b26ca20101e72e57bb..3f3f617d4dc85a7b6ca3edf4e9e2cfdaaf10db84 100644 (file)
--- a/cache.c
+++ b/cache.c
@@ -42,7 +42,7 @@
 
 static struct uloop_timeout cache_gc;
 struct avl_tree services;
-static AVL_TREE(records, avl_strcmp, true, NULL);
+AVL_TREE(records, avl_strcmp, true, NULL);
 
 static void
 cache_record_free(struct cache_record *r)