[Olsr-cvs] olsrd-current/src/linux kernel_routes.c,1.32,1.33

Bernd Petrovitsch (spam-protected)
Thu Nov 29 23:21:28 CET 2007


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

Modified Files:
	kernel_routes.c 
Log Message:
"open_ipc" is  only a boolean value containing "olsr_cnf->debug_level > 1".
So I see no reason to keep that variable.

Apart from the the attached patch makes the "#if" condition for the
"rts" field identical to all other references to it.


Index: kernel_routes.c
===================================================================
RCS file: /cvsroot/olsrd/olsrd-current/src/linux/kernel_routes.c,v
retrieving revision 1.32
retrieving revision 1.33
diff -C2 -d -r1.32 -r1.33
*** kernel_routes.c	29 Nov 2007 18:10:17 -0000	1.32
--- kernel_routes.c	29 Nov 2007 22:21:26 -0000	1.33
***************
*** 152,156 ****
  			}
  		}
! 		if (0 <= ret && olsr_cnf->open_ipc)
  		{
  			ipc_route_send_rtentry(
--- 152,156 ----
  			}
  		}
! 		if (0 <= ret && olsr_cnf->ipc_connections > 0)
  		{
  			ipc_route_send_rtentry(





More information about the Olsr-cvs mailing list