fib: auto init

This commit is contained in:
Cenk Gündoğan 2015-06-05 22:16:34 +02:00
parent ece64548a6
commit c6af4c9a21

View File

@ -112,6 +112,10 @@
#include "dev_eth_autoinit.h" #include "dev_eth_autoinit.h"
#endif #endif
#ifdef MODULE_FIB
#include "net/ng_fib.h"
#endif
#define ENABLE_DEBUG (0) #define ENABLE_DEBUG (0)
#include "debug.h" #include "debug.h"
@ -315,6 +319,10 @@ void auto_init(void)
DEBUG("Auto init UDP module.\n"); DEBUG("Auto init UDP module.\n");
ng_udp_init(); ng_udp_init();
#endif #endif
#ifdef MODULE_FIB
DEBUG("Auto init FIB module.\n");
fib_init();
#endif
/* initialize network devices */ /* initialize network devices */