summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTrey Aspelund <taspelund@nvidia.com>2021-04-01 04:43:55 +0000
committerTrey Aspelund <taspelund@nvidia.com>2021-07-22 20:23:56 +0000
commitfb0b54b361ef2ba2563ce72dd3fe8a5d77e4630b (patch)
tree729fb1c1d241b617c5a0bdb888ab0f1fde62eb7a
parent6afa0b137a00ffc68a8711ab754c6bbb6d19915d (diff)
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 <taspelund@nvidia.com>
-rw-r--r--zebra/zebra_vxlan.c2
1 files changed, 0 insertions, 2 deletions
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,