? .depend
? filter.txt
? src/cfgparser/.depend
? src/cfgparser/oparse.c
? src/cfgparser/oparse.h
? src/cfgparser/oscan.c
Index: src/lq_packet.c
===================================================================
RCS file: /cvsroot/olsrd/olsrd-current/src/lq_packet.c,v
retrieving revision 1.15
diff -c -r1.15 lq_packet.c
*** src/lq_packet.c	9 Mar 2005 23:06:30 -0000	1.15
--- src/lq_packet.c	11 Apr 2005 09:40:24 -0000
***************
*** 780,785 ****
--- 780,792 ----
    hello.vtime = lq_hello->comm.vtime;
    hello.htime = lq_hello->htime;
  
+   if (lq_hello->comm.orig.v4 == 0)
+     {
+       fprintf(stderr, "%s reports a main address of 0.0.0.0\n",
+               olsr_ip_to_string(from));
+       return;
+     }
+ 
    COPY_IP(&hello.source_addr, &lq_hello->comm.orig);
  
    hello.packet_seq_number = lq_hello->comm.seqno;
***************
*** 844,849 ****
--- 851,864 ----
  
    for (neigh = lq_tc->neigh; neigh != NULL; neigh = neigh->next)
      {
+       if (neigh->main.v4 == 0)
+         {
+           fprintf(stderr,
+                   "%s reports a neighbour with a main address of 0.0.0.0\n",
+                   olsr_ip_to_string(from));
+           continue;
+         }
+ 
        // allocate TC neighbour
  
        new_neigh = olsr_malloc(sizeof (struct tc_mpr_addr),
