From 457eb9af72e6e7aa85c26b65ba4d053f9ecbffac Mon Sep 17 00:00:00 2001 From: Paul Jakma Date: Thu, 27 Jul 2006 19:59:58 +0000 Subject: [zebra] Add test rig code, for testing the zebra RIB 2006-07-27 Paul Jakma * {ioctl,kernel}_null.c: Dummy/Null kernel method implementations, useful for testing zebra code that calls such methods. * {redistribute,misc}_null.c: Dummy/Null methods, as above. But for zclient, and for various misc functions. * test_main.c: Test harness for zebra, currently just to test the RIB. * Makefile.am: Build testzebra using above. * zebra_rib.c: Add a global for the workqueue hold time, useful for testing. --- zebra/misc_null.c | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 zebra/misc_null.c (limited to 'zebra/misc_null.c') diff --git a/zebra/misc_null.c b/zebra/misc_null.c new file mode 100644 index 00000000..8063c90d --- /dev/null +++ b/zebra/misc_null.c @@ -0,0 +1,4 @@ + +void ifstat_update_proc (void) { return; } +#pragma weak rtadv_config_write = ifstat_update_proc +#pragma weak irdp_config_write = ifstat_update_proc -- cgit v1.2.3