The following commit has been merged in the master branch: commit f7b1ff0b2575ef3c5250029e6bc88835bb4ddd16 Author: Marek Lindner lindner_marek@yahoo.de Date: Thu Mar 8 19:53:19 2007 +0100
debug msg for malformed packet II
diff --git a/batman.c b/batman.c index b873903..ed6a7eb 100644 --- a/batman.c +++ b/batman.c @@ -202,8 +202,8 @@ struct orig_node *get_orig_node( uint32_t addr ) { orig_node->orig = addr; orig_node->router = NULL;
- orig_node->bidirect_link = debugMalloc( found_ifs * sizeof(int), 2 ); - memset( orig_node->bidirect_link, 0, found_ifs * sizeof(int) ); + orig_node->bidirect_link = debugMalloc( found_ifs * sizeof(uint32_t), 2 ); + memset( orig_node->bidirect_link, 0, found_ifs * sizeof(uint32_t) );
list_add_tail( &orig_node->list, &orig_list );