mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-12-22 09:41:54 +00:00
Fixes signedness in format route attributes.
This commit is contained in:
parent
ff2857b03d
commit
212ff33582
@ -400,7 +400,7 @@ ea_format(eattr *e, byte *buf)
|
|||||||
switch (e->type & EAF_TYPE_MASK)
|
switch (e->type & EAF_TYPE_MASK)
|
||||||
{
|
{
|
||||||
case EAF_TYPE_INT:
|
case EAF_TYPE_INT:
|
||||||
bsprintf(buf, "%d", e->u.data);
|
bsprintf(buf, "%u", e->u.data);
|
||||||
break;
|
break;
|
||||||
case EAF_TYPE_OPAQUE:
|
case EAF_TYPE_OPAQUE:
|
||||||
for(i=0; i<ad->length; i++)
|
for(i=0; i<ad->length; i++)
|
||||||
|
Loading…
Reference in New Issue
Block a user