[Olsr-cvs] olsrd-current/src/linux kernel_routes.c,1.19,1.20

Bernd Petrovitsch (spam-protected)
Wed Jan 31 13:36:52 CET 2007


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

Modified Files:
	kernel_routes.c 
Log Message:
* applied patches from the most recent FreiFunkFirmware (and fixed compile errors) according
  to http://www.olsr.org/pipermail/olsr-dev/2006-December/254036.html:
  - olsrd-libsmake.patch
  - olsrd-dyngwplain.patch
  - olsrd-txtinfo.patch
  - olsrd-quagga.patch
  - olsrd-quagga-routehandler.patch
  - olsrd-optimize.patch
  - olsrd-bmf-fixes.patch
  - olsrd-fixes-sven-ola.patch
  - olsrd-fixes-jhay-bsd.patch
  - olsrd-fixes-backport.patch
  - olsrd-fixes-routedel.patch
  - olsrd-cpu-overload.patch
  - olsrd-secure_key_path.patch
  - olsrd-hna_ip_fix.patch
  Not applied:
  - olsrd-nameservice+services.patch: This patch produced too many rejects to fix easily.
  - olsrd-fixes-eric.patch: This was not found on the webserver.
  - olsrd-bmf.patch: We had already a "bmf" plug-in in there.
* made the checksum type in the olsrd_secure plug-in "olsr_u8_t" (instead
   of a wild "char *" and "unsigned char *" mix) everywhere. It killed
   lots of warnings.
* localized the checksum_cache array in olsrd_secure.c.


Index: kernel_routes.c
===================================================================
RCS file: /cvsroot/olsrd/olsrd-current/src/linux/kernel_routes.c,v
retrieving revision 1.19
retrieving revision 1.20
diff -C2 -d -r1.19 -r1.20
*** kernel_routes.c	7 Jan 2006 08:16:24 -0000	1.19
--- kernel_routes.c	31 Jan 2007 12:36:50 -0000	1.20
***************
*** 241,247 ****
    inet_ntop(AF_INET, &destination->rt_router.v4, router_str, 16);
  
!   OLSR_PRINTF(1, "(ioctl)Deleting route with metric %d to %s/%s via %s/%s.\n",
!               destination->rt_metric, dst_str, mask_str, router_str,
!               destination->rt_if->int_name)
    
    memset(&kernel_route,0,sizeof(struct rtentry));
--- 241,246 ----
    inet_ntop(AF_INET, &destination->rt_router.v4, router_str, 16);
  
!   OLSR_PRINTF(1, "(ioctl)Deleting route with metric %d to %s/%s via %s.\n",
!               destination->rt_metric, dst_str, mask_str, router_str)
    
    memset(&kernel_route,0,sizeof(struct rtentry));





More information about the Olsr-cvs mailing list