[Olsr-cvs] olsrd-current/src/win32 kernel_routes.c,1.17,1.18

Thomas Lopatic (spam-protected)
Wed Mar 28 14:07:07 CEST 2007


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

Modified Files:
	kernel_routes.c 
Log Message:
Fixed route addition.

Index: kernel_routes.c
===================================================================
RCS file: /cvsroot/olsrd/olsrd-current/src/win32/kernel_routes.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -d -r1.17 -r1.18
*** kernel_routes.c	27 Mar 2007 11:08:08 -0000	1.17
--- kernel_routes.c	28 Mar 2007 12:07:05 -0000	1.18
***************
*** 86,92 ****
    Res = SetIpForwardEntry(&Row);
  
!   if (Res != NO_ERROR && Res != ERROR_NOT_FOUND)
    {
!     fprintf(stderr, "SetIpForwardEntry() = %08lx, %s", Res, StrError(Res));
  
      Res = CreateIpForwardEntry(&Row);
--- 86,93 ----
    Res = SetIpForwardEntry(&Row);
  
!   if (Res != NO_ERROR)
    {
!     if (Res != ERROR_NOT_FOUND)
!       fprintf(stderr, "SetIpForwardEntry() = %08lx, %s", Res, StrError(Res));
  
      Res = CreateIpForwardEntry(&Row);





More information about the Olsr-cvs mailing list