]> git.proxmox.com Git - mirror_frr.git/commitdiff
bgpd: Fix route detailed show for EVPN
authorvivek <vivek@cumulusnetworks.com>
Wed, 24 May 2017 05:52:53 +0000 (22:52 -0700)
committervivek <vivek@cumulusnetworks.com>
Thu, 25 May 2017 17:20:04 +0000 (10:20 -0700)
Signed-off-by: Vivek Venkatraman <vivek@cumulusnetworks.com>
bgpd/bgp_route.c

index 8f028b32c4654b94e9cc147635643ac10ee333af..a69e7a4d5cf55c0275e9b736170ecc434e0709c0 100644 (file)
@@ -7184,7 +7184,8 @@ route_vty_out_detail (struct vty *vty, struct bgp *bgp, struct prefix *p,
          
       /* Line2 display Next-hop, Neighbor, Router-id */
       /* Display the nexthop */
-      if (p->family == AF_INET &&
+      if ((p->family == AF_INET ||
+           p->family == AF_ETHERNET) &&
           (safi == SAFI_MPLS_VPN ||
            safi == SAFI_ENCAP ||
            safi == SAFI_EVPN ||