diff options
author | Maria Matejka <mq@ucw.cz> | 2022-04-14 12:06:17 +0200 |
---|---|---|
committer | Maria Matejka <mq@ucw.cz> | 2022-05-04 15:37:41 +0200 |
commit | e261b325113a63410bc30287c135bf162480c3b2 (patch) | |
tree | 90c93e7a25e612c6227518b6fc48a087a3311098 /nest | |
parent | bc17fee1bfdbd330f5a4377bf40f6de0681afa5c (diff) |
Dropping EAF_VAR_LENGTH as the attribute data is either embedded or adata
Diffstat (limited to 'nest')
-rw-r--r-- | nest/route.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nest/route.h b/nest/route.h index a4af0edc..7557bf93 100644 --- a/nest/route.h +++ b/nest/route.h @@ -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 */ |