- Drop sendccp. If client sends a CCP request for compression just NAK it.

- Don't copy the old buffer into Config{Nak,Rej} LCP responses (oops);
  add length checks when appending.
- Have makeppp print a backtrace on overflow.
This commit is contained in:
Brendan O'Dea 2004-11-25 02:45:27 +00:00
parent 236ca962a7
commit 0753f6fc9f
6 changed files with 106 additions and 144 deletions

View file

@ -1,5 +1,5 @@
// L2TPNS Global Stuff
// $Id: l2tpns.h,v 1.35 2004-11-16 07:54:32 bodea Exp $
// $Id: l2tpns.h,v 1.36 2004-11-25 02:45:27 bodea Exp $
#ifndef __L2TPNS_H__
#define __L2TPNS_H__
@ -15,7 +15,7 @@
#include <sys/types.h>
#include <libcli.h>
#define VERSION "2.0.8"
#define VERSION "2.0.9"
// Limits
#define MAXTUNNEL 500 // could be up to 65535