Merge pull request #15461 from vjardin/ifdef_warning

fix warning if ripngd disabled
This commit is contained in:
Igor Ryzhov 2024-03-01 23:12:03 +02:00 committed by GitHub
commit 1d67a6e0bf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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