bgpd: restore pre-evpn output behavior

This commit is displaying all the ECs from one entry in rfapi code.

Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
This commit is contained in:
Philippe Guibert 2017-02-16 15:11:04 +01:00
parent 8ec21cf12c
commit 63ca1cde19

View File

@ -472,7 +472,7 @@ rfapi_vty_out_vncinfo (
if (bi->attr && bi->attr->extra && bi->attr->extra->ecommunity)
{
s = ecommunity_ecom2str (bi->attr->extra->ecommunity,
ECOMMUNITY_FORMAT_ROUTE_MAP, ECOMMUNITY_ROUTE_TARGET);
ECOMMUNITY_FORMAT_ROUTE_MAP, 0);
vty_out (vty, " EC{%s}", s);
XFREE (MTYPE_ECOMMUNITY_STR, s);
}