From: Arran Cudbard-Bell Date: Thu, 4 Jun 2015 17:26:46 +0000 (-0600) Subject: Make Peer Sent method message slightly clearer X-Git-Tag: release_3_0_9~267 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e9c409cb431fb9642179e99f680d39494dcf8d58;p=thirdparty%2Ffreeradius-server.git Make Peer Sent method message slightly clearer --- diff --git a/src/modules/rlm_eap/eap.c b/src/modules/rlm_eap/eap.c index 2d29620e7c6..3c4ffd9ead3 100644 --- a/src/modules/rlm_eap/eap.c +++ b/src/modules/rlm_eap/eap.c @@ -350,7 +350,7 @@ eap_rcode_t eap_method_select(rlm_eap_t *inst, eap_handler_t *handler) * 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; } @@ -364,7 +364,7 @@ eap_rcode_t eap_method_select(rlm_eap_t *inst, eap_handler_t *handler) 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. */ @@ -972,7 +972,7 @@ static int eap_validation(REQUEST *request, eap_packet_raw_t **eap_packet_p) return EAP_VALID; } - + RAUTH("Unsupported EAP type %u: ignoring the packet", eap_packet->data[0]); return EAP_INVALID; }