diff options
Diffstat (limited to 'bgpd/bgp_community.c')
-rw-r--r-- | bgpd/bgp_community.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgp_community.c b/bgpd/bgp_community.c index 1cafdb3e..a05ea6c6 100644 --- a/bgpd/bgp_community.c +++ b/bgpd/bgp_community.c @@ -282,7 +282,7 @@ community_com2str (struct community *com) default: as = (comval >> 16) & 0xFFFF; val = comval & 0xFFFF; - sprintf (pnt, "%d:%d", as, val); + sprintf (pnt, "%u:%d", as, val); pnt += strlen (pnt); break; } |