When displaying a pbr map sequence for a show run do not use the
vty_frame construct. We should display the config even if we
do not have much to display.
Ticket: CM-20196
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
{
char buff[PREFIX_STRLEN];
- vty_frame(vty, "pbr-map %s seq %u\n", pbrm->name, pbrms->seqno);
+ vty_out(vty, "pbr-map %s seq %u\n", pbrm->name, pbrms->seqno);
if (pbrms->src)
vty_out(vty, " match src-ip %s\n",
nexthop_group_write_nexthop(vty, pbrms->nhg->nexthop);
}
- vty_endframe(vty, "!\n");
+ vty_out(vty, "!\n");
return 1;
}