diff options
| author | David Lamparter <equinox@opensourcerouting.org> | 2025-04-16 12:44:38 +0200 |
|---|---|---|
| committer | David Lamparter <equinox@opensourcerouting.org> | 2025-04-16 12:47:36 +0200 |
| commit | d46909e50f5b4d87614fc8c8cebb6b3a5c6d6581 (patch) | |
| tree | 80cd46c7f261c30c5d0dae735559eaaf2f6cbbdf | |
| parent | 336fe6728f44cc1fa0eb1b447e2c127976fc62aa (diff) | |
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: 1629c05924fe9 ("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>
| -rw-r--r-- | bgpd/bgpd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgpd.c b/bgpd/bgpd.c index 31cd573aee..83f8057736 100644 --- a/bgpd/bgpd.c +++ b/bgpd/bgpd.c @@ -8972,7 +8972,7 @@ void bgp_terminate(void) EVENT_OFF(bm->t_bgp_zebra_l3_vni); bgp_mac_finish(); -#if ENABLE_BGP_VNC +#ifdef ENABLE_BGP_VNC rfapi_terminate(); #endif } |
