From 4e0459e6005f5c6ad1c666a26738cefcd7e1984f Mon Sep 17 00:00:00 2001 From: Trey Aspelund Date: Thu, 1 Apr 2021 04:43:55 +0000 Subject: [PATCH] zebra: Remove MM seq from evpn rmac json output Currently 'show evpn rmac vni .. mac .. json' includes fields for localSequence and remoteSequence, which are misleading since they aren't applicable to a macs in the IP-VRF mac table (RMAC). This removes the localSequence + remoteSequence fields from the output. Signed-off-by: Trey Aspelund (cherry picked from commit fb0b54b361ef2ba2563ce72dd3fe8a5d77e4630b) --- zebra/zebra_vxlan.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/zebra/zebra_vxlan.c b/zebra/zebra_vxlan.c index 09eb78917c..acf1a25e6a 100644 --- a/zebra/zebra_vxlan.c +++ b/zebra/zebra_vxlan.c @@ -366,8 +366,6 @@ static void zl3vni_print_rmac(zebra_mac_t *zrmac, struct vty *vty, buf1, sizeof(buf1))); json_object_int_add(json, "refCount", rb_host_count(&zrmac->host_rb)); - json_object_int_add(json, "localSequence", zrmac->loc_seq); - json_object_int_add(json, "remoteSequence", zrmac->rem_seq); RB_FOREACH (hle, host_rb_tree_entry, &zrmac->host_rb) json_object_array_add( json_hosts, -- 2.39.5