mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-06 02:46:26 +00:00
lib: fix json style to camel-case instead of underscores
Signed-off-by: Hiroki Shirokura <slank.dev@gmail.com>
This commit is contained in:
parent
9f900cda30
commit
326591dcdb
@ -185,11 +185,11 @@ json_object *srv6_locator_json(const struct srv6_locator *loc)
|
||||
json_object_string_add(jo_root, "prefix", str);
|
||||
|
||||
/* set function_bits_length */
|
||||
json_object_int_add(jo_root, "function_bits_length",
|
||||
json_object_int_add(jo_root, "functionBitsLength",
|
||||
loc->function_bits_length);
|
||||
|
||||
/* set status_up */
|
||||
json_object_boolean_add(jo_root, "status_up",
|
||||
json_object_boolean_add(jo_root, "statusUp",
|
||||
loc->status_up);
|
||||
|
||||
/* set chunks */
|
||||
|
Loading…
Reference in New Issue
Block a user