Merge pull request #2575 from pacovn/Coverity_1399219_Copy-paste_error

bgpd: copy-paste error (Coverity 1399219)
This commit is contained in:
Donald Sharp 2018-06-29 11:17:52 -04:00 committed by GitHub
commit 798ad23151
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4519,7 +4519,7 @@ void bgp_rfapi_show_summary(struct bgp *bgp, struct vty *vty)
if (VNC_EXPORT_ZEBRA_GRP_ENABLED(hc)) {
redist++;
vty_out(vty, "%sToZebra Groups={", (redist == 1 ? "" : " "));
if (hc->rfg_export_direct_bgp_l) {
if (hc->rfg_export_zebra_l) {
int cnt = 0;
struct listnode *node, *nnode;
struct rfapi_rfg_name *rfgn;