summaryrefslogtreecommitdiff
path: root/bgpd/bgp_lcommunity.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2020-03-23 08:41:17 -0400
committerDonald Sharp <sharpd@cumulusnetworks.com>2020-03-23 08:41:17 -0400
commit1be1693edfd6411c8f1575204a0c4bd8273c8179 (patch)
tree1efb84222dcdd31ad3b52d10c0eab872a431bc12 /bgpd/bgp_lcommunity.c
parentb8685f9beab3bccd3a0319bd11bbcbc93417766c (diff)
bgpd, lib: More `const`ification of various code
More second order effects of cleaning up rn usage in bgp. Sprinkle the fairy const's all over the place. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'bgpd/bgp_lcommunity.c')
-rw-r--r--bgpd/bgp_lcommunity.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgp_lcommunity.c b/bgpd/bgp_lcommunity.c
index 324505418c..c21056f305 100644
--- a/bgpd/bgp_lcommunity.c
+++ b/bgpd/bgp_lcommunity.c
@@ -178,7 +178,7 @@ static void set_lcommunity_string(struct lcommunity *lcom, bool make_json)
int i;
int len;
char *str_buf;
- uint8_t *pnt;
+ const uint8_t *pnt;
uint32_t global, local1, local2;
json_object *json_lcommunity_list = NULL;
json_object *json_string = NULL;