The following commit has been merged in the master branch: commit 6e4b21fe0c8f7c5ab0974cb2750750c6b41194f2 Author: Marek Lindner lindner_marek@yahoo.de Date: Wed Dec 6 12:43:02 2006 +0100
- fix crash in schedule_forward_packet
diff --git a/batman.c b/batman.c index f1c1a8c..1853846 100644 --- a/batman.c +++ b/batman.c @@ -804,7 +804,7 @@ void schedule_forward_packet( struct packet *in, int unidirectional, int directl } else {
forw_node_new->pack_buff = alloc_memory( sizeof(struct packet) ); - memcpy( &forw_node_new->pack_buff, in, sizeof(struct packet) ); + memcpy( forw_node_new->pack_buff, in, sizeof(struct packet) ); forw_node_new->pack_buff_len = sizeof(struct packet);
}