]> git.proxmox.com Git - mirror_frr.git/blobdiff - bgpd/bgp_evpn_mh.c
Merge pull request #13250 from chiragshah6/fdev1
[mirror_frr.git] / bgpd / bgp_evpn_mh.c
index 200bcea70b32cee8f58e7d5a44282c2e0bfef04c..4aff93514fbeaaefdd4502bdfc63ffb25e659ec3 100644 (file)
@@ -2609,6 +2609,9 @@ static void bgp_evpn_es_show_entry_detail(struct vty *vty,
                                    listcount(es->macip_global_path_list));
                json_object_int_add(json, "inconsistentVniVtepCount",
                                es->incons_evi_vtep_cnt);
+               if (es->flags & BGP_EVPNES_LOCAL)
+                       json_object_int_add(json, "localEsDfPreference",
+                                           es->df_pref);
                if (listcount(es->es_vtep_list)) {
                        json_vteps = json_object_new_array();
                        for (ALL_LIST_ELEMENTS_RO(es->es_vtep_list, node,