[Olsr-cvs] olsrd-current/src defs.h, 1.52, 1.53 process_routes.c, 1.27, 1.28

Andreas T�nnesen (spam-protected)
Wed Nov 1 10:20:15 CET 2006


Update of /cvsroot/olsrd/olsrd-current/src
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv16656

Modified Files:
	defs.h process_routes.c 
Log Message:
Removed assertion on hopcount

Index: defs.h
===================================================================
RCS file: /cvsroot/olsrd/olsrd-current/src/defs.h,v
retrieving revision 1.52
retrieving revision 1.53
diff -C2 -d -r1.52 -r1.53
*** defs.h	7 Jan 2006 08:16:20 -0000	1.52
--- defs.h	1 Nov 2006 09:20:13 -0000	1.53
***************
*** 69,73 ****
  #endif
  
- #define	HOPCNT_MAX		32	/* maximum hops number */
  #define	MAXMESSAGESIZE		1500	/* max broadcast size */
  #define UDP_IPV4_HDRSIZE        28
--- 69,72 ----

Index: process_routes.c
===================================================================
RCS file: /cvsroot/olsrd/olsrd-current/src/process_routes.c,v
retrieving revision 1.27
retrieving revision 1.28
diff -C2 -d -r1.27 -r1.28
*** process_routes.c	30 May 2005 13:13:38 -0000	1.27
--- process_routes.c	1 Nov 2006 09:20:13 -0000	1.28
***************
*** 415,420 ****
        struct destination_n *previous_node = add_kernel_list;
  
-       assert(metric_counter < HOPCNT_MAX);
- 
        /* searching for all the items with metric equal to n */
        for(destination_kernel = add_kernel_list; destination_kernel != NULL; )
--- 415,418 ----





More information about the Olsr-cvs mailing list