mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-05-24 23:00:37 +00:00
bgpd: Drop redundant assignment for aspath segment type and length
They are already initialized via assegment_new(). Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
This commit is contained in:
parent
580bc71aca
commit
fc9a8da45e
@ -1016,8 +1016,6 @@ static struct assegment *aspath_aggregate_as_set_add(struct aspath *aspath,
|
|||||||
seg = seg->next;
|
seg = seg->next;
|
||||||
seg->next = asset;
|
seg->next = asset;
|
||||||
}
|
}
|
||||||
asset->type = AS_SET;
|
|
||||||
asset->length = 1;
|
|
||||||
asset->as[0] = as;
|
asset->as[0] = as;
|
||||||
} else {
|
} else {
|
||||||
/* Check this AS value already exists or not. */
|
/* Check this AS value already exists or not. */
|
||||||
|
Loading…
Reference in New Issue
Block a user