mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-09 19:13:58 +00:00
bgpd: Send MED attribute when aggregate prefix is created
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
This commit is contained in:
parent
5e1a1129f5
commit
59136db5a7
@ -986,6 +986,10 @@ struct attr *bgp_attr_aggregate_intern(
|
|||||||
attr.origin = origin;
|
attr.origin = origin;
|
||||||
attr.flag |= ATTR_FLAG_BIT(BGP_ATTR_ORIGIN);
|
attr.flag |= ATTR_FLAG_BIT(BGP_ATTR_ORIGIN);
|
||||||
|
|
||||||
|
/* MED */
|
||||||
|
attr.med = 0;
|
||||||
|
attr.flag |= ATTR_FLAG_BIT(BGP_ATTR_MULTI_EXIT_DISC);
|
||||||
|
|
||||||
/* AS path attribute. */
|
/* AS path attribute. */
|
||||||
if (aspath)
|
if (aspath)
|
||||||
attr.aspath = aspath_intern(aspath);
|
attr.aspath = aspath_intern(aspath);
|
||||||
|
Loading…
Reference in New Issue
Block a user