From 45c04a53fb9fbefe4dd86514c7563b4af1961dfb Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Tue, 20 Aug 2024 18:12:37 +0000 Subject: Add a lot of stuff, disable shibari-cache build for now Signed-off-by: Laurent Bercot --- src/cache/log.c | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'src/cache/log.c') 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 #include #include @@ -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) + { + } +} + -- cgit v1.3.1