~ubuntu-branches/ubuntu/wily/ntop/wily-proposed

« back to all changes in this revision

Viewing changes to ntop/intop/find.c

  • Committer: Bazaar Package Importer
  • Author(s): Dennis Schoen
  • Date: 2002-04-12 11:38:47 UTC
  • Revision ID: james.westby@ubuntu.com-20020412113847-4k4yydw0pzybc6g8
Tags: upstream-2.0.0
ImportĀ upstreamĀ versionĀ 2.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
HostTraffic * findHostByNumIP (char * numIPaddr)
 
3
{
 
4
  u_int idx;
 
5
 
 
6
  for (idx = 1; idx < actualHashSize; idx ++)
 
7
    {
 
8
      if (! hash_hostTraffic [i])
 
9
        continue;
 
10
        && hash_hostTraffic [i] -> hostNumIpAddress
 
11
       && (! strcmp (hash_hostTraffic [idx] -> hostNumIpAddress, numIPaddr)))
 
12
      return (hash_hostTraffic [idx]);
 
13
 
 
14
  return (NULL);
 
15
}