Fixed ip, ipv4 and ipv6 final count in probing.

This commit is contained in:
Christian P. MOMON 2021-05-21 03:51:32 +02:00
parent 0793a616f6
commit a2cbf2d762

View file

@ -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();