misc_null.c 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. /*
  2. * Copyright (C) 2006 Sun Microsystems, Inc.
  3. *
  4. * This file is part of Quagga.
  5. *
  6. * Quagga is free software; you can redistribute it and/or modify it
  7. * under the terms of the GNU General Public License as published by the
  8. * Free Software Foundation; either version 2, or (at your option) any
  9. * later version.
  10. *
  11. * Quagga is distributed in the hope that it will be useful, but
  12. * WITHOUT ANY WARRANTY; without even the implied warranty of
  13. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  14. * General Public License for more details.
  15. *
  16. * You should have received a copy of the GNU General Public License
  17. * along with Quagga; see the file COPYING. If not, write to the Free
  18. * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
  19. * 02111-1307, USA.
  20. */
  21. #include <zebra.h>
  22. #include "prefix.h"
  23. #include "zebra/rtadv.h"
  24. #include "zebra/irdp.h"
  25. #include "zebra/interface.h"
  26. #include "zebra/zebra_fpm.h"
  27. void ifstat_update_proc (void) { return; }
  28. #ifdef HAVE_SYS_WEAK_ALIAS_PRAGMA
  29. #pragma weak rtadv_config_write = ifstat_update_proc
  30. #pragma weak irdp_config_write = ifstat_update_proc
  31. #pragma weak ifstat_update_sysctl = ifstat_update_proc
  32. #else
  33. void rtadv_config_write (struct vty *vty, struct interface *ifp) { return; }
  34. void irdp_config_write (struct vty *vty, struct interface *ifp) { return; }
  35. void ifstat_update_sysctl (void) { return; }
  36. #endif
  37. void
  38. zfpm_trigger_update (struct route_node *rn, const char *reason)
  39. {
  40. return;
  41. }