diff options
author | Maria Matejka <mq@ucw.cz> | 2022-06-16 23:24:53 +0200 |
---|---|---|
committer | Maria Matejka <mq@ucw.cz> | 2022-06-17 10:55:23 +0200 |
commit | 8c92f47ac77f267368b6d6bd161689a0c0bc5e5a (patch) | |
tree | 55d600dc9035380a1ddb853541609faf09325361 /proto/bgp/attrs.c | |
parent | 54d94f4b1a5b9d8f2943236323d789290bb7bb2f (diff) |
Route attribute storage keeps the previous layers
Diffstat (limited to 'proto/bgp/attrs.c')
-rw-r--r-- | proto/bgp/attrs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/proto/bgp/attrs.c b/proto/bgp/attrs.c index 6d33ef2e..46e949bf 100644 --- a/proto/bgp/attrs.c +++ b/proto/bgp/attrs.c @@ -1253,10 +1253,10 @@ bgp_export_attr(struct bgp_export_state *s, eattr *a, ea_list *to) * Result: one sorted attribute list segment, or NULL if attributes are unsuitable. */ static inline ea_list * -bgp_export_attrs(struct bgp_export_state *s, const ea_list *a) +bgp_export_attrs(struct bgp_export_state *s, ea_list *a) { /* Merge the attribute list */ - ea_list *new = ea_normalize(a); + ea_list *new = ea_normalize(a, 0); ASSERT_DIE(new); uint i, count; |