summaryrefslogtreecommitdiff
path: root/proto/mrt
diff options
context:
space:
mode:
authorMaria Matejka <mq@ucw.cz>2022-04-10 14:11:46 +0200
committerMaria Matejka <mq@ucw.cz>2022-05-04 15:37:41 +0200
commitde86040b2cf4ec9bfbb64f0e208a19d4d7e51adc (patch)
tree930de20f9c75a4a2e4f9bb281dd1499888ae8b6a /proto/mrt
parent0b871c170472202770691af8995766ee57920fdc (diff)
Attribute list normalization cleanup
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 321c6395..760cfa73 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))
- ea_normalize(eattrs);
+ eattrs = ea_normalize(eattrs);
mrt_buffer_need(b, MRT_ATTR_BUFFER_SIZE);
byte *pos = b->pos;