summaryrefslogtreecommitdiff
path: root/proto
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2012-11-12 13:48:29 +0100
committerOndrej Filip <feela@network.cz>2012-11-12 13:48:29 +0100
commite16469bc4d182428687a5ef5f2fb4707afa15abd (patch)
treeb31096b6ac556715d46c5199c14d01af56e8f918 /proto
parent227af52fb5be09c841fbd9f86e7bb3992b981a4a (diff)
AS# in bgp.agreggator was a signed integer - fixed.
Diffstat (limited to 'proto')
-rw-r--r--proto/bgp/attrs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/proto/bgp/attrs.c b/proto/bgp/attrs.c
index 9f71544e..98b2f2c2 100644
--- a/proto/bgp/attrs.c
+++ b/proto/bgp/attrs.c
@@ -238,7 +238,7 @@ bgp_format_aggregator(eattr *a, byte *buf, int buflen UNUSED)
as = get_u32(data);
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