1
0
mirror of https://gitlab.labs.nic.cz/labs/bird.git synced 2024-05-11 16:54:54 +00:00

Merge commit '9e44ace3' into thread-next-iface

This commit is contained in:
Maria Matejka
2023-04-14 15:18:18 +02:00
5 changed files with 15 additions and 6 deletions

View File

@@ -2154,7 +2154,7 @@ bgp_update_attrs(struct bgp_proto *p, struct bgp_channel *c, rte *e, ea_list *at
/* MULTI_EXIT_DESC attribute - accept only if set in export filter */
a = bgp_find_attr(attrs0, BA_MULTI_EXIT_DISC);
if (a && !(a->fresh))
if (a && !a->fresh && !p->cf->allow_med)
bgp_unset_attr(&attrs, BA_MULTI_EXIT_DISC);
}