From John Hay <jhay@meraka.org.za>: bugfix: do not account for IP headers when buildi...
authorHannes Gredler <hannes@gredler.at>
Tue, 5 Feb 2008 10:53:06 +0000 (11:53 +0100)
committerHannes Gredler <hannes@gredler.at>
Tue, 5 Feb 2008 10:53:06 +0000 (11:53 +0100)
src/build_msg.c

index 314f2c8..e45c705 100644 (file)
@@ -975,7 +975,7 @@ serialize_mid6(struct interface *ifp)
       net_output(ifp);
       remainsize = net_outbuffer_bytes_left(ifp);
     }
-  check_buffspace(curr_size + olsr_cnf->ipsize, remainsize, "MID");
+  check_buffspace(curr_size, remainsize, "MID");
 
   m = (union olsr_message *)msg_buffer;