diff options
| author | Russ White <russ@riw.us> | 2018-07-23 17:08:24 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-07-23 17:08:24 -0400 |
| commit | db711a8fb91f13391b13f36a7a8ae0215dad7a33 (patch) | |
| tree | 83d952595fdda52397e3c71d60abd3b8de22e848 | |
| parent | 4dbfa73b17a8b2de0e0bf4175573cb50998c0ad7 (diff) | |
Revert "Use metric for default-originate with route-map if applied"
| -rw-r--r-- | bgpd/bgp_updgrp_adv.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/bgpd/bgp_updgrp_adv.c b/bgpd/bgp_updgrp_adv.c index 594eec59eb..d555006571 100644 --- a/bgpd/bgp_updgrp_adv.c +++ b/bgpd/bgp_updgrp_adv.c @@ -690,7 +690,6 @@ void subgroup_default_originate(struct update_subgroup *subgrp, int withdraw) aspath = attr.aspath; attr.local_pref = bgp->default_local_pref; - attr.flag |= ATTR_FLAG_BIT(BGP_ATTR_MULTI_EXIT_DISC); memset(&p, 0, sizeof(p)); p.family = afi2family(afi); @@ -725,8 +724,6 @@ void subgroup_default_originate(struct update_subgroup *subgrp, int withdraw) peer->default_rmap[afi][safi].map, &rn->p, RMAP_BGP, &info); - attr.med = info.attr->med; - /* The route map might have set attributes. If * we don't flush them * here, they will be leaked. */ |
