Merge pull request #12146 from rgirada/frr_gr

ospf6d: adding missing json fields
This commit is contained in:
Donatas Abraitis 2022-10-19 10:10:50 +03:00 committed by GitHub
commit d2e0ef18b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -982,6 +982,11 @@ CPP_NOTICE("Remove JSON object commands with keys starting with capital")
.last_exit_reason]);
}
if (ospf6->ospf6_helper_cfg.active_restarter_cnt)
json_object_int_add(
json, "activeRestarterCnt",
ospf6->ospf6_helper_cfg.active_restarter_cnt);
if (OSPF6_HELPER_ENABLE_RTR_COUNT(ospf6)) {
struct json_object *json_rid_array =
json_object_new_array();