diff options
| author | Vincent JARDIN <vjardin@free.fr> | 2024-03-01 17:27:53 +0100 |
|---|---|---|
| committer | Vincent JARDIN <vjardin@free.fr> | 2024-03-01 17:36:15 +0100 |
| commit | 717b3350bb9b559df0b9a3d9e2bdc3cb41e816e1 (patch) | |
| tree | cedccd74e827894fe1128c83a0c1f995e48575bb /mgmtd | |
| parent | e3bc6e39e4b7c54dbe8784a2f93d98c95441c3d0 (diff) | |
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>
Diffstat (limited to 'mgmtd')
| -rw-r--r-- | mgmtd/mgmt_vty.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mgmtd/mgmt_vty.c b/mgmtd/mgmt_vty.c index 12ea62ecef..bbc1077870 100644 --- a/mgmtd/mgmt_vty.c +++ b/mgmtd/mgmt_vty.c @@ -608,13 +608,13 @@ void mgmt_vty_init(void) * here one by one. */ zebra_cli_init(); -#if HAVE_RIPD +#ifdef HAVE_RIPD rip_cli_init(); #endif -#if HAVE_RIPNGD +#ifdef HAVE_RIPNGD ripng_cli_init(); #endif -#if HAVE_STATICD +#ifdef HAVE_STATICD static_vty_init(); #endif |
