summaryrefslogtreecommitdiffstats
path: root/zebra/kernel_null.c
diff options
context:
space:
mode:
Diffstat (limited to 'zebra/kernel_null.c')
-rw-r--r--zebra/kernel_null.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/zebra/kernel_null.c b/zebra/kernel_null.c
index 4cd43db4..58d2c3ae 100644
--- a/zebra/kernel_null.c
+++ b/zebra/kernel_null.c
@@ -28,6 +28,7 @@
#include "zebra/rt.h"
#include "zebra/redistribute.h"
#include "zebra/connected.h"
+#include "zebra/rib.h"
int kernel_add_ipv4 (struct prefix *a, struct rib *b) { return 0; }
#ifdef HAVE_SYS_WEAK_ALIAS_PRAGMA
@@ -64,9 +65,10 @@ int kernel_address_delete_ipv4 (struct interface *a, struct connected *b)
return 0;
}
-void kernel_init (void) { return; }
+void kernel_init (struct zebra_vrf *zvrf) { return; }
+void kernel_terminate (struct zebra_vrf *zvrf) { return; }
#ifdef HAVE_SYS_WEAK_ALIAS_PRAGMA
#pragma weak route_read = kernel_init
#else
-void route_read (void) { return; }
+void route_read (struct zebra_vrf *zvrf) { return; }
#endif