From 37732130e1cfedee005509b46f292b8b7f9b4714 Mon Sep 17 00:00:00 2001 From: Miroslav Lichvar Date: Tue, 28 Jul 2015 14:29:29 +0200 Subject: [PATCH] clientlog: allow unspecified address in CLG_Log*Access functions --- clientlog.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/clientlog.c b/clientlog.c index df38b38..193ff55 100644 --- a/clientlog.c +++ b/clientlog.c @@ -279,7 +279,7 @@ CLG_LogNTPClientAccess (IPAddr *client, time_t now) node = (Node *) find_subnet(&top_subnet6, ip6, 4, 0); break; default: - assert(0); + node = NULL; } if (node == NULL) @@ -309,7 +309,7 @@ CLG_LogNTPPeerAccess(IPAddr *client, time_t now) node = (Node *) find_subnet(&top_subnet6, ip6, 4, 0); break; default: - assert(0); + node = NULL; } if (node == NULL) @@ -339,7 +339,7 @@ CLG_LogCommandAccess(IPAddr *client, CLG_Command_Type type, time_t now) node = (Node *) find_subnet(&top_subnet6, ip6, 4, 0); break; default: - assert(0); + node = NULL; } if (node == NULL)