+* ??? 2.0.2
+- Apply patch to fix -v option from Juergen Kammer.
+
* Tue Jul 13 2004 Brendan O'Dea <bod@optusnet.com.au> 2.0.1
- Update INSTALL, Docs/manual.html documentation.
- Add INTERNALS documentation.
// Copyright (c) 2002 FireBrick (Andrews & Arnold Ltd / Watchfront Ltd) - GPL licenced
// vim: sw=8 ts=8
-char const *cvs_id_l2tpns = "$Id: l2tpns.c,v 1.14 2004-07-12 08:21:45 bodea Exp $";
+char const *cvs_id_l2tpns = "$Id: l2tpns.c,v 1.15 2004-07-12 15:16:27 bodea Exp $";
#include <arpa/inet.h>
#include <assert.h>
int main(int argc, char *argv[])
{
int o;
+ int optdebug = 0;
_program_name = strdup(argv[0]);
if (fork()) exit(0);
break;
case 'v':
- config->debug++;
+ optdebug++;
break;
case 'h':
snprintf(hostname, sizeof(hostname), "%s", optarg);
initiptables();
initplugins();
initdata();
+
+ config->debug = optdebug;
+
init_tbf();
init_cli(hostname);
read_config_file();