summaryrefslogtreecommitdiff
path: root/zebra/zebra_evpn_mh.c
diff options
context:
space:
mode:
authorStephen Worley <sworley@nvidia.com>2022-02-15 18:53:01 -0500
committerStephen Worley <sworley@nvidia.com>2022-03-09 18:02:45 -0500
commit47c1d76a6c79fb0460a7079f9e24228bc9052877 (patch)
tree79ba28e5f4478513aa084a36781deebcde9c7148 /zebra/zebra_evpn_mh.c
parent7140b00cb0c0f9e9f007f092890f04166a9a66f8 (diff)
zebra: cleanup protodown netlink logs
Cleanup the logs in the netlink code for setting protodown on/off to be more useful to a user parsing them after an issue. Signed-off-by: Stephen Worley <sworley@nvidia.com>
Diffstat (limited to 'zebra/zebra_evpn_mh.c')
-rw-r--r--zebra/zebra_evpn_mh.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/zebra/zebra_evpn_mh.c b/zebra/zebra_evpn_mh.c
index 43eef69be2..9099c066b1 100644
--- a/zebra/zebra_evpn_mh.c
+++ b/zebra/zebra_evpn_mh.c
@@ -3470,7 +3470,8 @@ void zebra_evpn_mh_json(json_object *json)
json_object_new_string("startupDelay"));
if (CHECK_FLAG(zmh_info->protodown_rc,
ZEBRA_PROTODOWN_EVPN_UPLINK_DOWN))
- json_object_array_add(json_array,
+ json_object_array_add(
+ json_array,
json_object_new_string("uplinkDown"));
json_object_object_add(json, "protodownReasons", json_array);
}