forked from Mirror/frr
bgpd: fix misused rfapi conditional
bgpd/bgpd.c:8975:5: error: "ENABLE_BGP_VNC" is not defined, evaluates to 0 [-Werror=undef]
8975 | #if ENABLE_BGP_VNC
Fixes: FRRouting#18546
Fixes: 1629c05924
("bgpd: rfapi: track outstanding rib and import timers, free mem at exit")
Cc: G. Paul Ziemba <paulz@labn.net>
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
This commit is contained in:
parent
336fe6728f
commit
d46909e50f
|
@ -8972,7 +8972,7 @@ void bgp_terminate(void)
|
||||||
EVENT_OFF(bm->t_bgp_zebra_l3_vni);
|
EVENT_OFF(bm->t_bgp_zebra_l3_vni);
|
||||||
|
|
||||||
bgp_mac_finish();
|
bgp_mac_finish();
|
||||||
#if ENABLE_BGP_VNC
|
#ifdef ENABLE_BGP_VNC
|
||||||
rfapi_terminate();
|
rfapi_terminate();
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue