summaryrefslogtreecommitdiffstats
path: root/tests/isisd/test_isis_spf.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/isisd/test_isis_spf.c')
-rw-r--r--tests/isisd/test_isis_spf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/isisd/test_isis_spf.c b/tests/isisd/test_isis_spf.c
index 6eb180b..4ea28cd 100644
--- a/tests/isisd/test_isis_spf.c
+++ b/tests/isisd/test_isis_spf.c
@@ -5,6 +5,7 @@
*/
#include <zebra.h>
+#include <sys/stat.h>
#include <lib/version.h>
#include "getopt.h"
@@ -539,7 +540,7 @@ int main(int argc, char **argv)
zlog_aux_init("NONE: ", ZLOG_DISABLED);
/* IS-IS inits. */
- yang_module_load("frr-isisd");
+ yang_module_load("frr-isisd", NULL);
SET_FLAG(im->options, F_ISIS_UNIT_TEST);
debug_spf_events |= DEBUG_SPF_EVENTS;
debug_lfa |= DEBUG_LFA;