From: Ondrej Filip Date: Mon, 12 Nov 2012 12:48:29 +0000 (+0100) Subject: AS# in bgp.agreggator was a signed integer - fixed. X-Git-Tag: v1.3.9~12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e16469bc4d182428687a5ef5f2fb4707afa15abd;p=thirdparty%2Fbird.git AS# in bgp.agreggator was a signed integer - fixed. --- diff --git a/proto/bgp/attrs.c b/proto/bgp/attrs.c index 9f71544ec..98b2f2c20 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