mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-15 07:21:59 +00:00
zebra: allow rtadv.c to compile with --enable-rtadv=no
The rtadv.c code was not properly compiling if you turned off router advertisements in zebra. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
parent
e6af96d598
commit
d3f604f0d6
@ -46,14 +46,14 @@
|
||||
#include "zebra/zebra_errors.h"
|
||||
#include "zebra/zebra_router.h"
|
||||
|
||||
#ifndef VTYSH_EXTRACT_PL
|
||||
#include "zebra/rtadv_clippy.c"
|
||||
#endif
|
||||
|
||||
extern struct zebra_privs_t zserv_privs;
|
||||
|
||||
#if defined(HAVE_RTADV)
|
||||
|
||||
#ifndef VTYSH_EXTRACT_PL
|
||||
#include "zebra/rtadv_clippy.c"
|
||||
#endif
|
||||
|
||||
DEFINE_MTYPE_STATIC(ZEBRA, RTADV_PREFIX, "Router Advertisement Prefix")
|
||||
|
||||
#ifdef OPEN_BSD
|
||||
@ -2648,7 +2648,7 @@ void rtadv_init(struct zebra_vrf *zvrf)
|
||||
{
|
||||
/* Empty.*/;
|
||||
}
|
||||
void rtadv_terminate(struct zebra_vrf *zvrf)
|
||||
void rtadv_terminate(void)
|
||||
{
|
||||
/* Empty.*/;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user