- Revise CCP, send ConfigReq once only.

- Check control serial before clearing window, prevents looping tunnel
  setup in some instances.
- Add configuration syntax for adding named access lists (work in progress).
This commit is contained in:
bodea 2004-11-27 05:19:53 +00:00
parent 98e9766a66
commit 12f16f60c1
9 changed files with 920 additions and 94 deletions

4
ppp.c
View file

@ -1,6 +1,6 @@
// L2TPNS PPP Stuff
char const *cvs_id_ppp = "$Id: ppp.c,v 1.30 2004/11/25 12:46:48 bodea Exp $";
char const *cvs_id_ppp = "$Id: ppp.c,v 1.31 2004/11/27 05:19:53 bodea Exp $";
#include <stdio.h>
#include <string.h>
@ -21,7 +21,7 @@ extern int tunfd;
extern char hostname[];
extern u32 eth_tx;
extern time_t time_now;
extern struct configt *config;
extern configt *config;
static void initccp(tunnelidt t, sessionidt s);