summaryrefslogtreecommitdiff
path: root/src/cache/log.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cache/log.c')
-rw-r--r--src/cache/log.c13
1 files changed, 11 insertions, 2 deletions
diff --git a/src/cache/log.c b/src/cache/log.c
index 0e20f91..06da0ec 100644
--- a/src/cache/log.c
+++ b/src/cache/log.c
@@ -1,4 +1,6 @@
-/* ISC license. */
+/* ISC license. */
+
+#include <stdint.h>
#include <skalibs/fmtscan.h>
#include <skalibs/strerr.h>
@@ -7,7 +9,6 @@
#include "shibari-cache-internal.h"
-
void log_udp4bad (char const *ip, uint16_t port)
{
if (g->verbosity >= 3)
@@ -53,3 +54,11 @@ void log_newtcp6 (char const *ip, uint16_t port)
}
#endif
+
+void log_warn_unexpected_answer(char const *q, uint16_t qlen, uint16_t qtype, int present)
+{
+ if (g->verbosity)
+ {
+ }
+}
+