summaryrefslogtreecommitdiff
path: root/nest/route.h
diff options
context:
space:
mode:
authorMaria Matejka <mq@ucw.cz>2022-04-13 17:05:12 +0200
committerMaria Matejka <mq@ucw.cz>2022-04-13 17:05:12 +0200
commit98fd158e28d89f10ee7a41b4f6a14fbd0021ef35 (patch)
tree577347901debd9bba7d2bfad5f85afc67375e6db /nest/route.h
parentd39ef961d1dde230c55fcc931b53f44cb34a1e63 (diff)
RIP: fixed the EA_RIP_FROM attribute
The interface pointer was improperly converted to u32 and back. Fixing this by explicitly allocating an adata structure for it. It's not so memory efficient, we'll optimize this later.
Diffstat (limited to 'nest/route.h')
-rw-r--r--nest/route.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/nest/route.h b/nest/route.h
index bf25dcf9..80c53ba6 100644
--- a/nest/route.h
+++ b/nest/route.h
@@ -538,9 +538,9 @@ 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_BITFIELD 0x09 /* 32-bit embedded bitfield */
#define EAF_TYPE_INT_SET 0x0a /* Set of u32's (e.g., a community list) */
-#define EAF_TYPE_PTR 0x0d /* Pointer to an object */
#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_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) */