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

Bernd Petrovitsch (spam-protected)
Thu Nov 29 19:10:19 CET 2007


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

Modified Files:
	kernel_routes.c 
Log Message:
* removed the commented out COPY_IP() and COMP_IP() macros - everything seems to work

Index: kernel_routes.c
===================================================================
RCS file: /cvsroot/olsrd/olsrd-current/src/linux/kernel_routes.c,v
retrieving revision 1.31
retrieving revision 1.32
diff -C2 -d -r1.31 -r1.32
*** kernel_routes.c	11 Nov 2007 23:10:23 -0000	1.31
--- kernel_routes.c	29 Nov 2007 18:10:17 -0000	1.32
***************
*** 263,271 ****
    memset(&kernel_route, 0, sizeof(struct in6_rtmsg));
  
-   //COPY_IP(&kernel_route.rtmsg_dst, &rt->rt_dst.prefix);
    kernel_route.rtmsg_dst     = rt->rt_dst.prefix.v6;
    kernel_route.rtmsg_dst_len = rt->rt_dst.prefix_len;
  
-   //COPY_IP(&kernel_route.rtmsg_gateway, &rt->rt_best->rtp_nexthop.gateway);
    kernel_route.rtmsg_gateway = rt->rt_best->rtp_nexthop.gateway.v6;
  
--- 263,269 ----
***************
*** 385,393 ****
  
  
-   //COPY_IP(&kernel_route.rtmsg_dst, &rt->rt_dst.prefix);
    kernel_route.rtmsg_dst     = rt->rt_dst.prefix.v6;
    kernel_route.rtmsg_dst_len = rt->rt_dst.prefix_len;
  
-   //COPY_IP(&kernel_route.rtmsg_gateway, &rt->rt_best->rtp_nexthop.gateway);
    kernel_route.rtmsg_gateway = rt->rt_best->rtp_nexthop.gateway.v6;
  
--- 383,389 ----





More information about the Olsr-cvs mailing list