[Olsr-cvs] olsrd-current/src/bsd net.h, 1.4, 1.5 kernel_routes.c, 1.16, 1.17

Bernd Petrovitsch (spam-protected)
Wed Nov 28 11:09:05 CET 2007


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

Modified Files:
	net.h kernel_routes.c 
Log Message:
* applied (a somewhat modified) patch by Patrick McCarty <(spam-protected)>

Index: kernel_routes.c
===================================================================
RCS file: /cvsroot/olsrd/olsrd-current/src/bsd/kernel_routes.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -d -r1.16 -r1.17
*** kernel_routes.c	27 Nov 2007 13:39:22 -0000	1.16
--- kernel_routes.c	28 Nov 2007 10:09:03 -0000	1.17
***************
*** 112,116 ****
    if ((flags & RTF_GATEWAY) != 0)
    {
!     sin.sin_addr.s_addr = nexthop->gateway.v4;
  
      memcpy(walker, &sin, sizeof (sin));
--- 112,116 ----
    if ((flags & RTF_GATEWAY) != 0)
    {
!     sin.sin_addr = nexthop->gateway.v4;
  
      memcpy(walker, &sin, sizeof (sin));

Index: net.h
===================================================================
RCS file: /cvsroot/olsrd/olsrd-current/src/bsd/net.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** net.h	20 Apr 2007 13:46:05 -0000	1.4
--- net.h	28 Nov 2007 10:09:03 -0000	1.5
***************
*** 1,5 ****
  /*
   * The olsr.org Optimized Link-State Routing daemon(olsrd)
!  * Copyright (c) 2004, Andreas Tønnesen((spam-protected))
   * All rights reserved.
   *
--- 1,5 ----
  /*
   * The olsr.org Optimized Link-State Routing daemon(olsrd)
!  * Copyright (c) 2004, Andreas T√łnnesen((spam-protected))
   * All rights reserved.
   *
***************
*** 44,47 ****
--- 44,48 ----
  #define _OLSR_NET_LINUX
  
+ #include <sys/param.h>
  #include <sys/types.h>
  #include <sys/socket.h>





More information about the Olsr-cvs mailing list