int get_client_count()

in tacacs-F4.0.4.28/client_count.c [69:79]


int get_client_count(char* client_ip)
{
  int count = 0;
  /* now we see if there is a hash entry for this client_ip
   * returns 0 if the client does not yet exist */
  CLIENT *c = hash_lookup(client_table, client_ip);
  if (c)
    count = c->con_count;

  return count;
}