Apply patch from Cyril Elkaim to fix an issue with MacOS.
This commit is contained in:
parent
80eece35b2
commit
448f218ae7
2 changed files with 5 additions and 2 deletions
3
Changes
3
Changes
|
|
@ -1,6 +1,7 @@
|
||||||
* Mon Jan 11 2010 Brendan O'Dea <bod@optus.net> 2.2.x
|
* Thu Mar 25 2010 Brendan O'Dea <bod@optus.net> 2.2.x
|
||||||
- Apply MLPPP patch from Muhammad Tayseer Alquoatli.
|
- Apply MLPPP patch from Muhammad Tayseer Alquoatli.
|
||||||
- Apply patch from Michael O to avoid sending multiple CDNs.
|
- Apply patch from Michael O to avoid sending multiple CDNs.
|
||||||
|
- Apply patch from Cyril Elkaim to fix an issue with MacOS.
|
||||||
|
|
||||||
* Mon Dec 18 2006 Brendan O'Dea <bod@optus.net> 2.2.0
|
* Mon Dec 18 2006 Brendan O'Dea <bod@optus.net> 2.2.0
|
||||||
- Only poll clifd if successfully bound.
|
- Only poll clifd if successfully bound.
|
||||||
|
|
|
||||||
4
l2tpns.c
4
l2tpns.c
|
|
@ -4,7 +4,7 @@
|
||||||
// Copyright (c) 2002 FireBrick (Andrews & Arnold Ltd / Watchfront Ltd) - GPL licenced
|
// Copyright (c) 2002 FireBrick (Andrews & Arnold Ltd / Watchfront Ltd) - GPL licenced
|
||||||
// vim: sw=8 ts=8
|
// vim: sw=8 ts=8
|
||||||
|
|
||||||
char const *cvs_id_l2tpns = "$Id: l2tpns.c,v 1.174 2010/01/09 13:33:41 bodea Exp $";
|
char const *cvs_id_l2tpns = "$Id: l2tpns.c,v 1.175 2010/03/25 05:24:23 bodea Exp $";
|
||||||
|
|
||||||
#include <arpa/inet.h>
|
#include <arpa/inet.h>
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
|
@ -2686,9 +2686,11 @@ void processudp(uint8_t *buf, int len, struct sockaddr_in *addr)
|
||||||
break;
|
break;
|
||||||
case 2: // SCCRP
|
case 2: // SCCRP
|
||||||
tunnel[t].state = TUNNELOPEN;
|
tunnel[t].state = TUNNELOPEN;
|
||||||
|
tunnel[t].lastrec = time_now;
|
||||||
break;
|
break;
|
||||||
case 3: // SCCN
|
case 3: // SCCN
|
||||||
tunnel[t].state = TUNNELOPEN;
|
tunnel[t].state = TUNNELOPEN;
|
||||||
|
tunnel[t].lastrec = time_now;
|
||||||
controlnull(t); // ack
|
controlnull(t); // ack
|
||||||
break;
|
break;
|
||||||
case 4: // StopCCN
|
case 4: // StopCCN
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue