summaryrefslogtreecommitdiff
path: root/nest/rt-attr.c
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2008-11-08 23:33:22 +0100
committerOndrej Zajicek <santiago@crfreenet.org>2008-11-08 23:33:22 +0100
commitaebe06b40ce730a88cc8a3121be1944b3ddf5765 (patch)
treead154b3ccaef4c816a8a325db7c5561aaf2d7586 /nest/rt-attr.c
parentb21f68b4cd4794c84e5f0eb2c34204c87ccf0e9a (diff)
Proper format functions for ORIGINATOR_ID, CLUSTER_LIST
Diffstat (limited to 'nest/rt-attr.c')
-rw-r--r--nest/rt-attr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nest/rt-attr.c b/nest/rt-attr.c
index cbece881..e79cba1f 100644
--- a/nest/rt-attr.c
+++ b/nest/rt-attr.c
@@ -386,7 +386,7 @@ ea_format(eattr *e, byte *buf)
{
buf += bsprintf(buf, "%s.", p->name);
if (p->get_attr)
- status = p->get_attr(e, buf);
+ status = p->get_attr(e, buf, end - buf);
buf += strlen(buf);
}
else if (EA_PROTO(e->id))
@@ -429,7 +429,7 @@ ea_format(eattr *e, byte *buf)
as_path_format(ad, buf, end - buf);
break;
case EAF_TYPE_INT_SET:
- int_set_format(ad, buf, end - buf);
+ int_set_format(ad, 1, buf, end - buf);
break;
case EAF_TYPE_UNDEF:
default: