Andrew J. Schorr | a6974fe | 2006-08-02 16:47:03 +0000 | [diff] [blame] | 1 | #include <zebra.h> |
| 2 | |
| 3 | #include "prefix.h" |
| 4 | #include "zebra/rtadv.h" |
| 5 | #include "zebra/irdp.h" |
Paul Jakma | 7e4bcdc | 2006-08-04 06:14:13 +0000 | [diff] [blame] | 6 | #include "zebra/interface.h" |
Avneesh Sachdev | 5adc252 | 2012-11-13 22:48:59 +0000 | [diff] [blame] | 7 | #include "zebra/zebra_fpm.h" |
Paul Jakma | 457eb9a | 2006-07-27 19:59:58 +0000 | [diff] [blame] | 8 | |
| 9 | void ifstat_update_proc (void) { return; } |
Doug VanLeuven | 327c4cd | 2012-12-14 14:58:30 +0200 | [diff] [blame] | 10 | #ifdef HAVE_SYS_WEAK_ALIAS_PRAGMA |
Paul Jakma | 457eb9a | 2006-07-27 19:59:58 +0000 | [diff] [blame] | 11 | #pragma weak rtadv_config_write = ifstat_update_proc |
| 12 | #pragma weak irdp_config_write = ifstat_update_proc |
Paul Jakma | 7e4bcdc | 2006-08-04 06:14:13 +0000 | [diff] [blame] | 13 | #pragma weak ifstat_update_sysctl = ifstat_update_proc |
Doug VanLeuven | 327c4cd | 2012-12-14 14:58:30 +0200 | [diff] [blame] | 14 | #else |
| 15 | void rtadv_config_write (struct vty *vty, struct interface *ifp) { return; } |
| 16 | void irdp_config_write (struct vty *vty, struct interface *ifp) { return; } |
| 17 | void ifstat_update_sysctl (void) { return; } |
| 18 | #endif |
Avneesh Sachdev | 5adc252 | 2012-11-13 22:48:59 +0000 | [diff] [blame] | 19 | |
| 20 | void |
| 21 | zfpm_trigger_update (struct route_node *rn, const char *reason) |
| 22 | { |
| 23 | return; |
| 24 | } |