From 0af3d691b2423abd5b91bffaddeae6d9c40dfb88 Mon Sep 17 00:00:00 2001 From: Mark Stapp Date: Tue, 18 Feb 2020 16:49:54 -0500 Subject: [PATCH] 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 --- zebra/rtadv.c | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) 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 */ -- 2.39.5