aboutsummaryrefslogtreecommitdiffstats
path: root/src/cache/log.c
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2024-08-20 18:12:37 +0000
committerLaurent Bercot <ska@appnovation.com>2024-08-20 18:12:37 +0000
commit45c04a53fb9fbefe4dd86514c7563b4af1961dfb (patch)
tree4e90eed434b9292e405245d5394e9a9f3e3a3c46 /src/cache/log.c
parent1360696c2d6ed7083a71979c8382c9d34df12cf0 (diff)
downloadshibari-45c04a53fb9fbefe4dd86514c7563b4af1961dfb.tar.gz
Add a lot of stuff, disable shibari-cache build for now
Signed-off-by: Laurent Bercot <ska@appnovation.com>
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)
+ {
+ }
+}
+