Patch from Sven-Ola Tuecke <sven-ola@gmx.de> from
authorBernd Petrovitsch <bernd@firmix.at>
Thu, 29 Nov 2007 00:34:22 +0000 (00:34 +0000)
committerBernd Petrovitsch <bernd@firmix.at>
Thu, 29 Nov 2007 00:34:22 +0000 (00:34 +0000)
http://download-master.berlin.freifunk.net/sven-ola/nylon/packages/olsrd/files/138-olsrd-fixdotdraw.patch: fix the dot_draw plugin

lib/dot_draw/src/olsrd_dot_draw.c

index eccf20e..7c59ded 100644 (file)
@@ -37,7 +37,7 @@
  * to the project. For more information see the website or contact
  * the copyright holders.
  *
- * $Id: olsrd_dot_draw.c,v 1.33 2007/11/16 19:52:09 bernd67 Exp $
+ * $Id: olsrd_dot_draw.c,v 1.34 2007/11/29 00:34:22 bernd67 Exp $
  */
 
 /*
@@ -331,7 +331,7 @@ pcf_event(int changes_neighborhood,
       } else {
         hna_msk.v6 = hna->net.prefix_len;
       }
-      ipc_print_net(&olsr_cnf->interfaces->interf->ip_addr,
+      ipc_print_net(&olsr_cnf->main_addr,
                     &hna->net.prefix,
                     &hna_msk);
     }