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:
Russ White 2023-10-10 11:36:34 -04:00 committed by GitHub
commit 03d1b44c9b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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. */