X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fdict.c;fp=src%2Flib%2Fdict.c;h=173823787a88aba7470d7bf952ab81c7bc0b5e9a;hb=14a87b81409ef1b07f589b05f013b4e2356b75a3;hp=0d87b47355e415a1c6f93b8310182bf3b5fe19df;hpb=4ca09576d948b5b74d83a3d981a3b121b87bae20;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; }