do not notify on ESSID changes if option max-essids is choosen
@@ -657,13 +657,10 @@ if(eapolrc4count > 0) printf("EAPOL RC4 messages.......................: %ld\n
if(eapolrsncount > 0) printf("EAPOL RSN messages.......................: %ld\n", eapolrsncount);
if(eapolwpacount > 0) printf("EAPOL WPA messages.......................: %ld\n", eapolwpacount);
if(essidcount > 0) printf("ESSID (total unique).....................: %ld\n", essidcount);
-if(donotcleanflag == false)
- {
- if(essiddupemax > 0) printf("ESSID changes (detected maximum).........: %ld (information: option --max-essids=<digit> and --all recommended)\n", essiddupemax);
- }
-if(donotcleanflag == true)
+if(essiddupemax > 0)
{
- if(essiddupemax > 0) printf("ESSID changes (detected maximum).........: %ld\n", essiddupemax);
+ if((essidsvalue > 1) || (donotcleanflag == true)) printf("ESSID changes (detected maximum).........: %ld\n", essiddupemax);
+ else printf("ESSID changes (detected maximum).........: %ld (information: option --max-essids=<digit> and --all recommended)\n", essiddupemax);
}
if(eaptimegapmax > 0) printf("EAPOLTIME gap (measured maximum usec)....: %" PRId64 "\n", eaptimegapmax);
if((eapolnccount > 0) && (eapolmpcount > 0))
