summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpaco <paco@voltanet.io>2018-06-28 15:39:59 +0200
committerpaco <paco@voltanet.io>2018-06-28 15:39:59 +0200
commitf86285ffefb075414718ace7338fd7ee7155df1c (patch)
treea55973a5012fe09012e6c4974ee84e7966ce5091
parentMerge pull request #2563 from pacovn/Coverity_1465494_String_not_null_termina... (diff)
downloadfrr-f86285ffefb075414718ace7338fd7ee7155df1c.tar.xz
frr-f86285ffefb075414718ace7338fd7ee7155df1c.zip
bgpd: copy-paste error (Coverity 1399219)
Signed-off-by: F. Aragon <paco@voltanet.io>
-rw-r--r--bgpd/rfapi/bgp_rfapi_cfg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/rfapi/bgp_rfapi_cfg.c b/bgpd/rfapi/bgp_rfapi_cfg.c
index 491741a35..8553846c9 100644
--- a/bgpd/rfapi/bgp_rfapi_cfg.c
+++ b/bgpd/rfapi/bgp_rfapi_cfg.c
@@ -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;