]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
sim test not relevant
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Fri, 22 Feb 2019 03:11:46 +0000 (11:11 +0800)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Fri, 22 Feb 2019 03:11:46 +0000 (11:11 +0800)
src/protocols/dhcpv6/encode.c

index 266f5d3ff4225b7dde742a5dd201383e606d8da2..dd8339fd5e949aa4cb89ee23113c5a1e66e02093 100644 (file)
@@ -52,11 +52,6 @@ static inline bool is_encodable(fr_dict_attr_t const *root, VALUE_PAIR *vp)
 {
        if (!vp) return false;
        if (vp->da->flags.internal) return false;
-       /*
-        *      Bool attribute presence is 'true' in SIM
-        *      and absence is 'false'
-        */
-       if ((vp->da->type == FR_TYPE_BOOL) && (vp->vp_bool == false)) return false;
        if (!fr_dict_parent_common(root, vp->da, true)) return false;
 
        return true;