Skip to content

Commit

Permalink
Merge pull request #14535 from opensourcerouting/fix/bgp_aggregate_stuff
Browse files Browse the repository at this point in the history
bgpd: Drop redundant assignment for aspath segment type and length
  • Loading branch information
riw777 authored Oct 10, 2023
2 parents 0ddda5c + fc9a8da commit 03d1b44
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions bgpd/bgp_aspath.c
Original file line number Diff line number Diff line change
Expand Up @@ -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. */
Expand Down

0 comments on commit 03d1b44

Please sign in to comment.