summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonatas Abraitis <donatas@opensourcerouting.org>2023-03-22 09:23:10 +0200
committerGitHub <noreply@github.com>2023-03-22 09:23:10 +0200
commit8179b7e1885caf6c3dca33c60bd770fabbb43b3b (patch)
tree62bc7d45496bb10d53c3bac06ca78234460da2f5
parented851381b578fda5c313ea0cb6a2e9d3fb017cce (diff)
parent2a6f176e415d9bb9ac5e33a3dbe2655b50273236 (diff)
Merge pull request #13080 from chiragshah6/fdev2
zebra: add evpn isDetectionFreeze to json output
-rw-r--r--zebra/zebra_vxlan.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/zebra/zebra_vxlan.c b/zebra/zebra_vxlan.c
index 19f1839ac7..153a5b8d8f 100644
--- a/zebra/zebra_vxlan.c
+++ b/zebra/zebra_vxlan.c
@@ -3819,6 +3819,8 @@ void zebra_vxlan_print_evpn(struct vty *vty, bool uj)
json_object_int_add(json, "detectionTime", zvrf->dad_time);
json_object_int_add(json, "detectionFreezeTime",
zvrf->dad_freeze_time);
+ json_object_boolean_add(json, "isDetectionFreeze",
+ zvrf->dad_freeze);
zebra_evpn_mh_json(json);
} else {
vty_out(vty, "L2 VNIs: %u\n", num_l2vnis);