summaryrefslogtreecommitdiffstats
path: root/nest
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2010-02-26 13:55:22 +0100
committerOndrej Zajicek <santiago@crfreenet.org>2010-02-26 13:55:22 +0100
commit212ff335828fbe28311fcbae6154cf2495a44d0e (patch)
treeee583f37632537add70af1fbbb721755bc507eac /nest
parentff2857b03db854f99902766ad842aaa5fa29ec3c (diff)
downloadbird-212ff335828fbe28311fcbae6154cf2495a44d0e.tar
bird-212ff335828fbe28311fcbae6154cf2495a44d0e.zip
Fixes signedness in format route attributes.
Diffstat (limited to 'nest')
-rw-r--r--nest/rt-attr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nest/rt-attr.c b/nest/rt-attr.c
index 9d78ce0..94b105d 100644
--- a/nest/rt-attr.c
+++ b/nest/rt-attr.c
@@ -400,7 +400,7 @@ ea_format(eattr *e, byte *buf)
switch (e->type & EAF_TYPE_MASK)
{
case EAF_TYPE_INT:
- bsprintf(buf, "%d", e->u.data);
+ bsprintf(buf, "%u", e->u.data);
break;
case EAF_TYPE_OPAQUE:
for(i=0; i<ad->length; i++)