projects
/
quagga-debian.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge tag 'upstream/1.2.3'
[quagga-debian.git]
/
bgpd
/
bgp_aspath.c
diff --git
a/bgpd/bgp_aspath.c
b/bgpd/bgp_aspath.c
index d813bfbab9357dbd885119e411b47942bb14d881..22be742f2623d5b875c8fddfb898959736e187ed 100644
(file)
--- a/
bgpd/bgp_aspath.c
+++ b/
bgpd/bgp_aspath.c
@@
-901,7
+901,7
@@
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);
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, use32bit);
+ assegment_data_put (s,
(seg->as+written)
, AS_SEGMENT_MAX, use32bit);
written += AS_SEGMENT_MAX;
bytes += ASSEGMENT_SIZE (AS_SEGMENT_MAX, use32bit);
}
written += AS_SEGMENT_MAX;
bytes += ASSEGMENT_SIZE (AS_SEGMENT_MAX, use32bit);
}