send SAE failure only to client
@@ -2197,8 +2197,11 @@ else if(auth->authentication_algho == SAE)
fprintf(stdout, " [AUTHENTICATION, SAE COMMIT, STATUS %d, SEQUENCE %d]\n", auth->statuscode, macfrx->sequence >> 4);
}
else if(auth->authentication_seq == 2)
+ {
+ if(memcmp(macfrx->addr1, macfrx->addr3, 6) == 0)
{
send_saefailure(macfrx->addr2, macfrx->addr1, macfrx->sequence >> 4);
+ }
printtimenet(macfrx->addr1, macfrx->addr2);
fprintf(stdout, " [AUTHENTICATION, SAE CONFIRM, STATUS %d, SEQUENCE %d]\n", auth->statuscode, macfrx->sequence >> 4);
}
