summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--zebra/zebra_evpn_mh.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/zebra/zebra_evpn_mh.c b/zebra/zebra_evpn_mh.c
index f71065cdcf..a406884187 100644
--- a/zebra/zebra_evpn_mh.c
+++ b/zebra/zebra_evpn_mh.c
@@ -358,6 +358,8 @@ void zebra_evpn_es_evi_show_vni(struct vty *vty, bool uj, vni_t vni, int detail)
} else {
if (!uj)
vty_out(vty, "VNI %d doesn't exist\n", vni);
+
+ return;
}
zebra_evpn_es_evi_show_one_evpn(zevpn, vty, json, detail);
}