X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fdict.c;h=173823787a88aba7470d7bf952ab81c7bc0b5e9a;hb=be0abff24856908a8b814fc2760df93bc0ba6102;hp=0d87b47355e415a1c6f93b8310182bf3b5fe19df;hpb=3ba2973efff4d8bd00b58208f7cc9e292c10c168;p=freeradius.git diff --git a/src/lib/dict.c b/src/lib/dict.c index 0d87b47..1738237 100644 --- a/src/lib/dict.c +++ b/src/lib/dict.c @@ -1532,15 +1532,19 @@ static int process_attribute(char const* fn, int const line, switch (type) { case PW_TYPE_IPV4_ADDR: + case PW_TYPE_IPV6_ADDR: case PW_TYPE_BYTE: case PW_TYPE_SHORT: case PW_TYPE_INTEGER: case PW_TYPE_DATE: + case PW_TYPE_STRING: break; default: - fr_strerror_printf( "dict_init: %s[%d] Only IP addresses can have the \"array\" flag set.", - fn, line); + fr_strerror_printf( "dict_init: %s[%d] \"%s\" type cannot have the " + "\"array\" flag set", + fn, line, + fr_int2str(dict_attr_types, type, "")); return -1; }