summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_community.c
diff options
context:
space:
mode:
Diffstat (limited to 'bgpd/bgp_community.c')
-rw-r--r--bgpd/bgp_community.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/bgpd/bgp_community.c b/bgpd/bgp_community.c
index 19e4954e1..bdef5fbde 100644
--- a/bgpd/bgp_community.c
+++ b/bgpd/bgp_community.c
@@ -289,19 +289,19 @@ set_community_string (struct community *com)
case COMMUNITY_NO_EXPORT:
strcpy (pnt, "no-export");
pnt += strlen ("no-export");
- json_string = json_object_new_string("no-export");
+ json_string = json_object_new_string("noExport");
json_object_array_add(json_community_list, json_string);
break;
case COMMUNITY_NO_ADVERTISE:
strcpy (pnt, "no-advertise");
pnt += strlen ("no-advertise");
- json_string = json_object_new_string("no-advertise");
+ json_string = json_object_new_string("noAdvertise");
json_object_array_add(json_community_list, json_string);
break;
case COMMUNITY_LOCAL_AS:
strcpy (pnt, "local-AS");
pnt += strlen ("local-AS");
- json_string = json_object_new_string("local-AS");
+ json_string = json_object_new_string("localAs");
json_object_array_add(json_community_list, json_string);
break;
default: