]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
don't list all structural types, just use the pre-existing definition
authorAlan T. DeKok <aland@freeradius.org>
Wed, 21 Oct 2020 14:49:40 +0000 (10:49 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Wed, 21 Oct 2020 19:21:40 +0000 (15:21 -0400)
src/protocols/radius/encode.c

index 5019941912334119f2f5e3cd8c81a3c7777a57ae..eccdd0ae81369ba7b519cb9a44e713e28feb539c 100644 (file)
@@ -567,12 +567,8 @@ static ssize_t encode_value(fr_dbuff_t *dbuff,
        case FR_TYPE_INVALID:
        case FR_TYPE_COMBO_IP_ADDR:     /* Should have been converted to concrete equivalent */
        case FR_TYPE_COMBO_IP_PREFIX:   /* Should have been converted to concrete equivalent */
-       case FR_TYPE_VSA:
-       case FR_TYPE_VENDOR:
-       case FR_TYPE_TLV:
-       case FR_TYPE_STRUCT:
+       case FR_TYPE_STRUCTURAL:
        case FR_TYPE_SIZE:
-       case FR_TYPE_GROUP:
        case FR_TYPE_VALUE_BOX:
        case FR_TYPE_MAX:
                fr_strerror_printf("Unsupported attribute type %d", da->type);