From: Alan T. DeKok Date: Sat, 22 Aug 2020 12:10:03 +0000 (-0400) Subject: unknown attributes are always of type octets X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3a27bf18ceebece076cb90e80bd25073aaf1dbd0;p=thirdparty%2Ffreeradius-server.git unknown attributes are always of type octets so we can create unknown DAs from known DAs of type != octets --- diff --git a/src/lib/util/dict_unknown.c b/src/lib/util/dict_unknown.c index 2e2a73811bb..bc0ac8975af 100644 --- a/src/lib/util/dict_unknown.c +++ b/src/lib/util/dict_unknown.c @@ -65,7 +65,7 @@ fr_dict_attr_t *fr_dict_unknown_acopy(TALLOC_CTX *ctx, fr_dict_attr_t const *da) /* * Initialize the rest of the fields. */ - dict_attr_init(n, parent, da->attr, da->type, &flags); + dict_attr_init(n, parent, da->attr, FR_TYPE_OCTETS, &flags); DA_VERIFY(n);