ubus: also allow dumping ipv4/6 as an array
[project/mdnsd.git] / cache.h
diff --git a/cache.h b/cache.h
index 44d407abe68af61e1126674faef44a7ce41151ff..8affee6ca6f6f27e1e66bab6fe3b1c9beb42e612 100644 (file)
--- a/cache.h
+++ b/cache.h
@@ -58,7 +58,7 @@ void cache_answer(struct interface *iface, struct sockaddr *from, uint8_t *base,
                  int blen, char *name, struct dns_answer *a, uint8_t *rdata,
                  int flush);
 int cache_host_is_known(char *record);
-void cache_dump_records(struct blob_buf *buf, const char *name, int txt_array);
+void cache_dump_records(struct blob_buf *buf, const char *name, int array);
 void cache_dump_recursive(struct blob_buf *b, const char *name, uint16_t type, struct interface *iface);
 
 #endif