zebra: fix missing rtadv stub functions

Add in a few missing stub route-advert functions; these are
needed to build frr with v6 route adverts disabled.

Signed-off-by: Mark Stapp <mjs@voltanet.io>
This commit is contained in:
Mark Stapp 2020-02-18 16:49:54 -05:00
parent 0d60f61f18
commit 0af3d691b2

View File

@ -2479,4 +2479,25 @@ void rtadv_cmd_init(void)
{ {
/* Empty.*/; /* Empty.*/;
} }
void rtadv_add_prefix(struct zebra_if *zif, const struct prefix_ipv6 *p)
{
/* Empty.*/;
}
void rtadv_delete_prefix(struct zebra_if *zif, const struct prefix *p)
{
/* Empty.*/;
}
void rtadv_stop_ra(struct interface *ifp)
{
/* Empty.*/;
}
void rtadv_stop_ra_all(void)
{
/* Empty.*/;
}
#endif /* HAVE_RTADV */ #endif /* HAVE_RTADV */