diff options
author | Ondrej Zajicek <santiago@crfreenet.org> | 2010-02-26 13:55:22 +0100 |
---|---|---|
committer | Ondrej Zajicek <santiago@crfreenet.org> | 2010-02-26 13:55:22 +0100 |
commit | 212ff335828fbe28311fcbae6154cf2495a44d0e (patch) | |
tree | ee583f37632537add70af1fbbb721755bc507eac | |
parent | ff2857b03db854f99902766ad842aaa5fa29ec3c (diff) | |
download | bird-212ff335828fbe28311fcbae6154cf2495a44d0e.tar bird-212ff335828fbe28311fcbae6154cf2495a44d0e.zip |
Fixes signedness in format route attributes.
-rw-r--r-- | nest/rt-attr.c | 2 |
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++) |