From 809d63657c4d50726e28952be4f7013f6629490a Mon Sep 17 00:00:00 2001 From: Christoffer Hansen Date: Sun, 29 Jul 2018 16:57:12 +0200 Subject: [PATCH] Update bgp_clist.c --- bgpd/bgp_clist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.5