From: Arran Cudbard-Bell Date: Mon, 29 Apr 2019 21:34:54 +0000 (-0400) Subject: Fix docs and mapping between SIM_ANY_ID_REQ X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1ff2c3a5b549a0267eb4713a2cc0bd4091fbb57f;p=thirdparty%2Ffreeradius-server.git Fix docs and mapping between SIM_ANY_ID_REQ --- diff --git a/src/lib/sim/id.c b/src/lib/sim/id.c index 5470f9df31c..dd82bb9b23c 100644 --- a/src/lib/sim/id.c +++ b/src/lib/sim/id.c @@ -29,7 +29,7 @@ #define us(x) (uint8_t) x FR_NAME_NUMBER const sim_id_request_table[] = { - { "Id-Any-Req", SIM_ANY_ID_REQ }, + { "Any-Id-Req", SIM_ANY_ID_REQ }, { "Permanent-Id-Req", SIM_PERMANENT_ID_REQ }, { "FullAuth-Id-Req", SIM_FULLAUTH_ID_REQ }, { NULL } @@ -140,6 +140,8 @@ ssize_t fr_sim_3gpp_root_nai_domain_mcc_mnc(uint16_t *mnc, uint16_t *mcc, /** Determine what type of ID was provided in the initial identity response * * @param[out] hint Whether this is a hint to do EAP-SIM or EAP-AKA[']: + * - SIM_METHOD_HINT_AKA_PRIME this ID was generated during an EAP-AKA' exchange + * or the supplicant hints it wants to perform EAP-AKA'. * - SIM_METHOD_HINT_AKA this ID was generated during an EAP-AKA exchange * or the supplicant hints it wants to perform EAP-AKA. * - SIM_METHOD_HINT_SIM this IS was generated during an EAP-SIM exchange