Fix segfault in arproaming plugin (introduced by cleanup)
authorHenning Rogge <hrogge@googlemail.com>
Tue, 8 Feb 2011 17:59:30 +0000 (18:59 +0100)
committerHenning Rogge <hrogge@googlemail.com>
Tue, 8 Feb 2011 17:59:30 +0000 (18:59 +0100)
lib/arproaming/src/olsrd_arproaming.c

index c25dc06..da1582f 100644 (file)
@@ -372,6 +372,8 @@ arproaming_init(void)
        int arproaming_socketfd_system = -1;
        struct olsr_mac48_addr mac;
 
+       list_init_head(&arproaming_nodes);
+
        memset(&mac, 0, sizeof(mac));
        arproaming_list_add(0, &all_zero, &mac);