You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
769 B

  1. From 0b7086494e9fe056f35560bcab53ff9eb0e68df4 Mon Sep 17 00:00:00 2001
  2. From: Mark Stapp <mjs@voltanet.io>
  3. Date: Wed, 19 Feb 2020 08:44:05 -0500
  4. Subject: [PATCH] zebra: fix missing route-advert stubs
  5. Stubs are used when frr is built without route-advert
  6. support; a couple of apis were missing, causing builds to fail.
  7. Signed-off-by: Mark Stapp <mjs@voltanet.io>
  8. ---
  9. zebra/rtadv.c | 11 +++++++++++
  10. 1 file changed, 11 insertions(+)
  11. diff --git a/zebra/rtadv.c b/zebra/rtadv.c
  12. index e9a97d4b15..c710978d78 100644
  13. --- a/zebra/rtadv.c
  14. +++ b/zebra/rtadv.c
  15. @@ -2399,4 +2399,15 @@ void rtadv_cmd_init(void)
  16. {
  17. /* Empty.*/;
  18. }
  19. +
  20. +void rtadv_stop_ra(struct interface *ifp)
  21. +{
  22. + /* Empty.*/;
  23. +}
  24. +
  25. +void rtadv_stop_ra_all(void)
  26. +{
  27. + /* Empty.*/;
  28. +}
  29. +
  30. #endif /* HAVE_RTADV */