Revision 987de545

View differences:

nest/a-path.c
44 44
as_path_format(struct adata *path, byte *buf, unsigned int size)
45 45
{
46 46
  byte *p = path->data;
47
  byte *e = p + path->length - 8;
48
  byte *end = buf + size;
47
  byte *e = p + path->length;
48
  byte *end = buf + size - 8;
49 49
  int sp = 1;
50 50
  int l, type, isset, as;
51 51

  

Also available in: Unified diff