0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-11-17 16:48:43 +00:00

AS# in bgp.agreggator was a signed integer - fixed.

This commit is contained in:
Ondrej Filip 2012-11-12 13:48:29 +01:00
parent 227af52fb5
commit e16469bc4d

View File

@ -238,7 +238,7 @@ bgp_format_aggregator(eattr *a, byte *buf, int buflen UNUSED)
as = get_u32(data); as = get_u32(data);
data += 4; data += 4;
bsprintf(buf, "%d.%d.%d.%d AS%d", data[0], data[1], data[2], data[3], as); bsprintf(buf, "%d.%d.%d.%d AS%u", data[0], data[1], data[2], data[3], as);
} }
static int static int