From: Trey Aspelund Date: Thu, 1 Apr 2021 04:43:55 +0000 (+0000) Subject: zebra: Remove MM seq from evpn rmac json output X-Git-Tag: base_8.1~292^2 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=fb0b54b361ef2ba2563ce72dd3fe8a5d77e4630b;p=matthieu%2Ffrr.git 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 --- diff --git a/zebra/zebra_vxlan.c b/zebra/zebra_vxlan.c index 2b46929acb..1660792221 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,