Fixed stupid bug in as_path_format().
This commit is contained in:
parent
9165888ad2
commit
987de54578
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue