]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Dropping EAF_VAR_LENGTH as the attribute data is either embedded or adata
authorMaria Matejka <mq@ucw.cz>
Thu, 14 Apr 2022 10:06:17 +0000 (12:06 +0200)
committerMaria Matejka <mq@ucw.cz>
Wed, 4 May 2022 13:37:41 +0000 (15:37 +0200)
nest/route.h

index a4af0edc463071969ec554356e5d4716c7b58efc..7557bf9318e3039ec4a3e7058f1326e62e21c842 100644 (file)
@@ -538,10 +538,10 @@ const char *ea_custom_name(uint ea);
 #define EAF_TYPE_AS_PATH 0x06          /* BGP AS path (encoding per RFC 1771:4.3) */
 #define EAF_TYPE_INT_SET 0x0a          /* Set of u32's (e.g., a community list) */
 #define EAF_TYPE_EC_SET 0x0e           /* Set of pairs of u32's - ext. community list */
-#define EAF_TYPE_LC_SET 0x12           /* Set of triplets of u32's - large community list */
-#define EAF_TYPE_IFACE 0x16            /* Interface pointer stored in adata */
+#define EAF_TYPE_LC_SET 0x08           /* Set of triplets of u32's - large community list */
+#define EAF_TYPE_IFACE 0x0c            /* Interface pointer stored in adata */
 #define EAF_EMBEDDED 0x01              /* Data stored in eattr.u.data (part of type spec) */
-#define EAF_VAR_LENGTH 0x02            /* Attribute length is variable (part of type spec) */
+                                       /* Otherwise, attribute data is adata */
 
 typedef struct adata {
   uint length;                         /* Length of data */