mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-11-09 20:58:44 +00:00
Fixed stupid bug in as_path_format().
This commit is contained in:
parent
9165888ad2
commit
987de54578
@ -44,8 +44,8 @@ void
|
||||
as_path_format(struct adata *path, byte *buf, unsigned int size)
|
||||
{
|
||||
byte *p = path->data;
|
||||
byte *e = p + path->length - 8;
|
||||
byte *end = buf + size;
|
||||
byte *e = p + path->length;
|
||||
byte *end = buf + size - 8;
|
||||
int sp = 1;
|
||||
int l, type, isset, as;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user