From: Christoffer Hansen Date: Sun, 29 Jul 2018 14:57:12 +0000 (+0200) Subject: Update bgp_clist.c X-Git-Tag: frr-6.1-dev~101^2 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=809d63657c4d50726e28952be4f7013f6629490a;p=matthieu%2Ffrr.git Update bgp_clist.c --- diff --git a/bgpd/bgp_clist.c b/bgpd/bgp_clist.c index 1aa40fec3c..fec4397b73 100644 --- a/bgpd/bgp_clist.c +++ b/bgpd/bgp_clist.c @@ -457,7 +457,7 @@ static char *community_str_get(struct community *com, int i) strcpy(pnt, "no-peer"); pnt += strlen("no-peer"); break; - default: + default: as = (comval >> 16) & 0xFFFF; val = comval & 0xFFFF; sprintf(pnt, "%u:%d", as, val);