mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-13 17:40:04 +00:00
Merge pull request #2992 from opensourcerouting/large_as_path_fix
bgpd: Fix for large AS paths which are split into segments
This commit is contained in:
commit
92fe74de22
@ -900,7 +900,7 @@ size_t aspath_put(struct stream *s, struct aspath *as, int use32bit)
|
||||
while ((seg->length - written) > AS_SEGMENT_MAX) {
|
||||
assegment_header_put(s, seg->type,
|
||||
AS_SEGMENT_MAX);
|
||||
assegment_data_put(s, seg->as, AS_SEGMENT_MAX,
|
||||
assegment_data_put(s, (seg->as + written), AS_SEGMENT_MAX,
|
||||
use32bit);
|
||||
written += AS_SEGMENT_MAX;
|
||||
bytes += ASSEGMENT_SIZE(AS_SEGMENT_MAX,
|
||||
|
Loading…
Reference in New Issue
Block a user