Remove reference to lvalue (when was this module last built?\!)
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Mon, 25 Feb 2013 16:31:30 +0000 (11:31 -0500)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Mon, 25 Feb 2013 16:36:17 +0000 (11:36 -0500)
src/modules/rlm_eap/types/rlm_eap_ikev2/ike_conf.c

index 4e1a973..1b51644 100644 (file)
@@ -304,7 +304,8 @@ void rad_update_shared_seclist(struct sharedSecList **list,char *id,VALUE_PAIR *
        if(!vp) {
            radlog(L_DBG,IKEv2_LOG_PREFIX "[%s] -- Id type not set",id);
        } else {
-           if(!(id_type=vp->lvalue)) {
+            id_type = vp->vp_integer;
+           if(!id_type) {
                radlog(L_DBG,IKEv2_LOG_PREFIX "[%s] -- Not valid id type",id);
            }
        }