because if we check for a common ancestor between a da and the
dict root, we're just checking if the da is in the dict.
if (!vp) return false;
if (vp->da->flags.internal) return false;
+
/*
* Bool attribute presence is 'true' in SIM
* and absence is 'false'
*/
if ((vp->vp_type == FR_TYPE_BOOL) && (vp->vp_bool == false)) return false;
- if (!fr_dict_attr_common_parent(fr_dict_root(dict_eap_aka_sim), vp->da, true)) return false;
+
+ if (vp->da->dict != dict_eap_aka_sim, vp->da) return false;
return true;
}