babeld: state-file was loaded too early. Initial seqno too.
diff --git a/babeld/babeld.c b/babeld/babeld.c
index d69662c..33b5d9e 100644
--- a/babeld/babeld.c
+++ b/babeld/babeld.c
@@ -173,7 +173,9 @@
static int
babel_init_routing_process(struct thread *thread)
{
+ myseqno = (random() & 0xFFFF);
babel_get_myid();
+ babel_load_state_file();
debugf(BABEL_DEBUG_COMMON, "My ID is : %s.", format_eui64(myid));
babel_initial_noise();
babel_main_loop(thread);/* this function self-add to the t_update thread */