[Olsr-cvs] olsrd-current/lib/dyn_gw_plain/src olsrd_dyn_gw_plain.c, 1.4, 1.5

Bernd Petrovitsch (spam-protected)
Sun Aug 19 22:37:43 CEST 2007


Update of /cvsroot/olsrd/olsrd-current/lib/dyn_gw_plain/src
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv32515/lib/dyn_gw_plain/src

Modified Files:
	olsrd_dyn_gw_plain.c 
Log Message:
applied
  110-olsrd-double-wlancard-neigh-hack.patch,
  111-olsrd-complainpluginvers-nosleep.patch,
  112-olsrd-nameservice-fixemptyname.patch,
  113-olsrd-dyngwplain-pluginvers5.patch and
  140-olsrd-arprefreshed.patch
from http://download-master.berlin.freifunk.net/sven-ola/nylon/packages/olsrd/files/


Index: olsrd_dyn_gw_plain.c
===================================================================
RCS file: /cvsroot/olsrd/olsrd-current/lib/dyn_gw_plain/src/olsrd_dyn_gw_plain.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** olsrd_dyn_gw_plain.c	15 Jul 2007 17:52:43 -0000	1.4
--- olsrd_dyn_gw_plain.c	19 Aug 2007 20:37:41 -0000	1.5
***************
*** 1,4 ****
  /*
!  * The olsr.org Optimized Link-State Routing daemon(olsrd)
   * Copyright (c) 2004, Andreas Tønnesen((spam-protected))
   * All rights reserved.
--- 1,4 ----
  /*
!  * Copyright (c) 2006, Sven-Ola Tuecke <sven-ola-aet-gmx.de>
   * Copyright (c) 2004, Andreas Tønnesen((spam-protected))
   * All rights reserved.
***************
*** 52,56 ****
  #define DEBUGLEV 1
  
! #define PLUGIN_INTERFACE_VERSION 4
  
  static int has_inet_gateway;
--- 52,56 ----
  #define DEBUGLEV 1
  
! #define PLUGIN_INTERFACE_VERSION 5
  
  static int has_inet_gateway;
***************
*** 66,77 ****
  }
  
! /**
!  * Register parameters from config file
!  * Called for all plugin parameters
!  */
! int
! olsrd_plugin_register_param(char *key __attribute__((unused)), char *value __attribute__((unused)))
  {
!   return 1;
  }
  
--- 66,76 ----
  }
  
! static const struct olsrd_plugin_parameters plugin_parameters[] = {
! };
! 
! void olsrd_get_plugin_parameters(const struct olsrd_plugin_parameters **params, int *size)
  {
!     *params = plugin_parameters;
!     *size = sizeof(plugin_parameters)/sizeof(*plugin_parameters);
  }
  
***************
*** 83,86 ****
--- 82,87 ----
  olsrd_plugin_init(void)
  {
+   printf("OLSRD dyn_gw_plain plugin by Sven-Ola\n");
+   
    gw_net.v4 = INET_NET;
    gw_netmask.v4 = INET_PREFIX;





More information about the Olsr-cvs mailing list