forked from Mirror/frr
Merge pull request #14535 from opensourcerouting/fix/bgp_aggregate_stuff
bgpd: Drop redundant assignment for aspath segment type and length
This commit is contained in:
commit
03d1b44c9b
|
@ -1016,8 +1016,6 @@ static struct assegment *aspath_aggregate_as_set_add(struct aspath *aspath,
|
|||
seg = seg->next;
|
||||
seg->next = asset;
|
||||
}
|
||||
asset->type = AS_SET;
|
||||
asset->length = 1;
|
||||
asset->as[0] = as;
|
||||
} else {
|
||||
/* Check this AS value already exists or not. */
|
||||
|
|
Loading…
Reference in a new issue