]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
s/fr_pair_make_any/fr_pair_make_unknown
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Thu, 16 Jul 2015 23:43:28 +0000 (19:43 -0400)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Thu, 16 Jul 2015 23:43:57 +0000 (19:43 -0400)
src/lib/pair.c

index 0ddd9ba6184df4b7ddde666afc37363989d2952d..eb3674c93240a0681849db98855e3e574195d8af 100644 (file)
@@ -1205,9 +1205,9 @@ static VALUE_PAIR *fr_pair_from_unkown(VALUE_PAIR *vp, DICT_ATTR const *da)
  * @param op to assign to new valuepair.
  * @return new valuepair or NULL on error.
  */
-static VALUE_PAIR *fr_pair_make_any(TALLOC_CTX *ctx,
-                                  char const *attribute, char const *value,
-                                  FR_TOKEN op)
+static VALUE_PAIR *fr_pair_make_unknown(TALLOC_CTX *ctx,
+                                       char const *attribute, char const *value,
+                                       FR_TOKEN op)
 {
        VALUE_PAIR      *vp;
        DICT_ATTR const *da;
@@ -1336,7 +1336,7 @@ VALUE_PAIR *fr_pair_make(TALLOC_CTX *ctx, VALUE_PAIR **vps,
         */
        da = dict_attrbyname(attrname);
        if (!da) {
-               vp = fr_pair_make_any(ctx, attrname, value, op);
+               vp = fr_pair_make_unknown(ctx, attrname, value, op);
                if (vp && vps) fr_pair_add(vps, vp);
                return vp;
        }