diff --git a/l2tp.h b/l2tp.h --- a/l2tp.h +++ b/l2tp.h @@ -88,11 +88,16 @@ struct payload_hdr a zero byte packet */ #define PAYLOAD_BUF 10 /* Provide 10 expansion bytes so we can "decompress" the payloads and simplify coding */ -#define DEFAULT_MAX_RETRIES 5 /* Recommended value from spec */ +#if 1 +#define DEFAULT_MAX_RETRIES 5 /* Recommended value from spec */ +#else +#define DEFAULT_MAX_RETRIES 95 /* give us more time to debug */ +#endif + #define DEFAULT_RWS_SIZE 4 /* Default max outstanding control packets in queue */ #define DEFAULT_TX_BPS 10000000 /* For outgoing calls, report this speed */ #define DEFAULT_RX_BPS 10000000 #define DEFAULT_MAX_BPS 10000000 /* jz: outgoing calls max bps */