mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-04 07:05:06 -05:00
clientlog: allow unspecified address in CLG_Log*Access functions
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user