summaryrefslogtreecommitdiff
path: root/proto/mrt
diff options
context:
space:
mode:
authorMaria Matejka <mq@ucw.cz>2022-06-16 23:24:53 +0200
committerMaria Matejka <mq@ucw.cz>2022-06-17 10:55:23 +0200
commit8c92f47ac77f267368b6d6bd161689a0c0bc5e5a (patch)
tree55d600dc9035380a1ddb853541609faf09325361 /proto/mrt
parent54d94f4b1a5b9d8f2943236323d789290bb7bb2f (diff)
Route attribute storage keeps the previous layers
Diffstat (limited to 'proto/mrt')
-rw-r--r--proto/mrt/mrt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/proto/mrt/mrt.c b/proto/mrt/mrt.c
index fcc1dcfe..fcbe317b 100644
--- a/proto/mrt/mrt.c
+++ b/proto/mrt/mrt.c
@@ -431,7 +431,7 @@ mrt_rib_table_entry_bgp_attrs(struct mrt_table_dump_state *s, rte *r)
/* Attribute list must be normalized for bgp_encode_attrs() */
if (!rta_is_cached(r->attrs))
- eattrs = ea_normalize(eattrs);
+ eattrs = ea_normalize(eattrs, 0);
mrt_buffer_need(b, MRT_ATTR_BUFFER_SIZE);
byte *pos = b->pos;