Fixed ip, ipv4 and ipv6 final count in probing.
This commit is contained in:
parent
0793a616f6
commit
a2cbf2d762
1 changed files with 1 additions and 2 deletions
|
@ -69,7 +69,6 @@ public class IpCounters extends HashMap<String, StringSet>
|
|||
for (String timeMark : keySet())
|
||||
{
|
||||
StringSet set = get(timeMark);
|
||||
|
||||
result.inc(set.size(), prefix, timeMark);
|
||||
}
|
||||
|
||||
|
@ -87,7 +86,7 @@ public class IpCounters extends HashMap<String, StringSet>
|
|||
*/
|
||||
public void put(final String ip, final String timemark)
|
||||
{
|
||||
StringSet set = super.get(ip);
|
||||
StringSet set = super.get(timemark);
|
||||
if (set == null)
|
||||
{
|
||||
set = new StringSet();
|
||||
|
|
Loading…
Reference in a new issue