mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-06 00:06:09 +00:00
mgmtd: fix warning if ripngd disabled
./configure [...] --disable-ripngd
could lead to:
mgmtd/mgmt_vty.c:614:5: warning: "HAVE_RIPNGD" is not defined, evaluates to 0 [-Wundef]
614 | #if HAVE_RIPNGD
| ^~~~~~~~~~~
Signed-off-by: Vincent Jardin <vjardin@free.fr>
(cherry picked from commit 717b3350bb
)
This commit is contained in:
parent
53d481dd51
commit
db88f3dc82
@ -608,13 +608,13 @@ void mgmt_vty_init(void)
|
|||||||
* here one by one.
|
* here one by one.
|
||||||
*/
|
*/
|
||||||
zebra_cli_init();
|
zebra_cli_init();
|
||||||
#if HAVE_RIPD
|
#ifdef HAVE_RIPD
|
||||||
rip_cli_init();
|
rip_cli_init();
|
||||||
#endif
|
#endif
|
||||||
#if HAVE_RIPNGD
|
#ifdef HAVE_RIPNGD
|
||||||
ripng_cli_init();
|
ripng_cli_init();
|
||||||
#endif
|
#endif
|
||||||
#if HAVE_STATICD
|
#ifdef HAVE_STATICD
|
||||||
static_vty_init();
|
static_vty_init();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user