From: mitesh Date: Wed, 13 Dec 2017 23:27:28 +0000 (-0800) Subject: zebra: only show vrf matched to a l3-vni in show vrf vni X-Git-Tag: frr-4.0-dev~58^2~7 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=0412988bd50c64e374674ce114efa1d469993033;p=mirror%2Ffrr.git zebra: only show vrf matched to a l3-vni in show vrf vni Signed-off-by: Mitesh Kanjariya --- diff --git a/zebra/zebra_vty.c b/zebra/zebra_vty.c index da9a35a5d5..716a404cac 100644 --- a/zebra/zebra_vty.c +++ b/zebra/zebra_vty.c @@ -1972,6 +1972,9 @@ DEFUN (show_vrf_vni, if (!zvrf) continue; + if (!zvrf->l3vni) + continue; + if (!uj) { vty_out(vty, "vrf: %s VNI: %u", zvrf_name(zvrf),