From: Mark Stapp Date: Tue, 18 Feb 2020 21:49:54 +0000 (-0500) Subject: zebra: fix missing rtadv stub functions X-Git-Tag: base_7.4~338^2 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=0af3d691b2423abd5b91bffaddeae6d9c40dfb88;p=matthieu%2Ffrr.git 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 --- diff --git a/zebra/rtadv.c b/zebra/rtadv.c index e36af00b4e..829dcfcfd2 100644 --- a/zebra/rtadv.c +++ b/zebra/rtadv.c @@ -2479,4 +2479,25 @@ void rtadv_cmd_init(void) { /* 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 */