From e2858b13a9f2faf4b5e44021ce206facc43efc19 Mon Sep 17 00:00:00 2001 From: Philippe Guibert Date: Thu, 9 Feb 2017 09:26:30 +0100 Subject: [PATCH] bgpd: fix address-family display for l2vpn evpn When configuring l2vpn evpn address-family, the show running indicates that the address-family l2vpn evpn address-family has been configured, and not evpn, as it was done before this commit. This is a bug fix. Signed-off-by: Philippe Guibert --- bgpd/bgpd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bgpd/bgpd.c b/bgpd/bgpd.c index 627d019523..3512167b02 100644 --- a/bgpd/bgpd.c +++ b/bgpd/bgpd.c @@ -7224,7 +7224,7 @@ bgp_config_write_family_header (struct vty *vty, afi_t afi, safi_t safi, else if (afi == AFI_L2VPN) { if (safi == SAFI_EVPN) - vty_out (vty, "evpn"); + vty_out (vty, "l2vpn evpn"); } vty_out (vty, "%s", VTY_NEWLINE);