mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-07-27 11:44:16 +00:00
bgpd: remove unused safi in bgp_aggregate structure
Remove the unused safi field in bgp_aggregate structure. Signed-off-by: Enke Chen <enchen@paloaltonetworks.com>
This commit is contained in:
parent
a962ff7833
commit
d015e1d7d3
@ -8948,7 +8948,7 @@ static int bgp_aggregate_set(struct vty *vty, const char *prefix_str, afi_t afi,
|
||||
}
|
||||
|
||||
aggregate->as_set = as_set_new;
|
||||
aggregate->safi = safi;
|
||||
|
||||
/* Override ORIGIN attribute if defined.
|
||||
* E.g.: Cisco and Juniper set ORIGIN for aggregated address
|
||||
* to IGP which is not what rfc4271 says.
|
||||
|
@ -492,9 +492,6 @@ struct bgp_aggregate {
|
||||
/* Aggregate route's as-path. */
|
||||
struct aspath *aspath;
|
||||
|
||||
/* SAFI configuration. */
|
||||
safi_t safi;
|
||||
|
||||
/** MED value found in current group. */
|
||||
uint32_t med_matched_value;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user