clientlog: allow unspecified address in CLG_Log*Access functions
This commit is contained in:
parent
7a3b1414cd
commit
37732130e1
1 changed files with 3 additions and 3 deletions
|
@ -279,7 +279,7 @@ CLG_LogNTPClientAccess (IPAddr *client, time_t now)
|
||||||
node = (Node *) find_subnet(&top_subnet6, ip6, 4, 0);
|
node = (Node *) find_subnet(&top_subnet6, ip6, 4, 0);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
assert(0);
|
node = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (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);
|
node = (Node *) find_subnet(&top_subnet6, ip6, 4, 0);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
assert(0);
|
node = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (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);
|
node = (Node *) find_subnet(&top_subnet6, ip6, 4, 0);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
assert(0);
|
node = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (node == NULL)
|
if (node == NULL)
|
||||||
|
|
Loading…
Reference in a new issue