* Don't trust anyone.
*/
if ((type->num == 0) || (type->num >= PW_EAP_MAX_TYPES)) {
- REDEBUG("Peer sent method %d, which is outside known range", type->num);
+ REDEBUG("Peer sent EAP method number %d, which is outside known range", type->num);
return EAP_INVALID;
}
return EAP_INVALID;
}
- RDEBUG2("Peer sent method %s (%d)", eap_type2name(type->num), type->num);
+ RDEBUG2("Peer sent EAP method \"%s\" (%d)", eap_type2name(type->num), type->num);
/*
* Figure out what to do.
*/
return EAP_VALID;
}
-
+
RAUTH("Unsupported EAP type %u: ignoring the packet", eap_packet->data[0]);
return EAP_INVALID;
}