diff options
author | Maria Matejka <mq@ucw.cz> | 2023-04-14 15:18:18 +0200 |
---|---|---|
committer | Maria Matejka <mq@ucw.cz> | 2023-04-14 15:18:18 +0200 |
commit | 61e64d6a4119c32e0fa1b03285f805e21a00f6ab (patch) | |
tree | 60bf261c10d0260e1e9d9265b10ca5fd33f67e6a /proto/bgp/attrs.c | |
parent | 0c9e33fa7ae2bf0c0adb94c6ef9a446913ed50b8 (diff) | |
parent | 9e44ace3928a19560058dc713fcbff3a8bad3b3c (diff) |
Merge commit '9e44ace3' into thread-next-iface
Diffstat (limited to 'proto/bgp/attrs.c')
-rw-r--r-- | proto/bgp/attrs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/proto/bgp/attrs.c b/proto/bgp/attrs.c index 039fdff5..8bff4c78 100644 --- a/proto/bgp/attrs.c +++ b/proto/bgp/attrs.c @@ -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); } |