mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-06 06:14:35 +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.flag |= ATTR_FLAG_BIT(BGP_ATTR_ORIGIN);
|
||||
|
||||
/* MED */
|
||||
attr.med = 0;
|
||||
attr.flag |= ATTR_FLAG_BIT(BGP_ATTR_MULTI_EXIT_DISC);
|
||||
|
||||
/* AS path attribute. */
|
||||
if (aspath)
|
||||
attr.aspath = aspath_intern(aspath);
|
||||
|
Loading…
Reference in New Issue
Block a user