From: Miroslav Lichvar Date: Tue, 28 Jul 2015 12:29:29 +0000 (+0200) Subject: clientlog: allow unspecified address in CLG_Log*Access functions X-Git-Tag: 2.2-pre1~97 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=37732130e1cfedee005509b46f292b8b7f9b4714;p=thirdparty%2Fchrony.git clientlog: allow unspecified address in CLG_Log*Access functions --- diff --git a/clientlog.c b/clientlog.c index df38b381..193ff554 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)