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 <philippe.guibert@6wind.com>
This commit is contained in:
Philippe Guibert 2017-02-09 09:26:30 +01:00
parent 20b80273cf
commit e2858b13a9

View File

@ -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);