+* Wed Aug 31 2005 Brendan O'Dea <bod@optus.net> 2.1.5
+- Avoid Code-Reject loop.
+
* Mon Aug 29 2005 Brendan O'Dea <bod@optus.net> 2.1.4
- Drop level of "Unexpected CHAP message" log.
- Fix parsing of ProtocolRej (allow 1 or two byte protocols).
Summary: A high-speed clustered L2TP LNS
Name: l2tpns
-Version: 2.1.4
+Version: 2.1.5
Release: 1
Copyright: GPL
Group: System Environment/Daemons
%attr(644,root,root) /usr/share/man/man[58]/*
%changelog
-* Mon Aug 29 2005 Brendan O'Dea <bod@optus.net> 2.1.4-1
-- 2.1.4 release, see /usr/share/doc/l2tpns-2.1.4/Changes
+* Wed Aug 31 2005 Brendan O'Dea <bod@optus.net> 2.1.5-1
+- 2.1.5 release, see /usr/share/doc/l2tpns-2.1.5/Changes
// L2TPNS PPP Stuff
-char const *cvs_id_ppp = "$Id: ppp.c,v 1.77 2005/08/29 06:17:53 bodea Exp $";
+char const *cvs_id_ppp = "$Id: ppp.c,v 1.78 2005/08/31 12:38:38 bodea Exp $";
#include <stdio.h>
#include <string.h>
{
// Ignore it, last_packet time is set earlier than this.
}
- else
+ else if (*p != CodeRej)
{
int code = *p;
int mru = session[s].mru;
tunnelsend(b, l + (q - b), t);
change_state(s, ipcp, Stopped);
}
- else
+ else if (*p != CodeRej)
{
int code = *p;
int mru = session[s].mru;
tunnelsend(b, l + (q - b), t);
change_state(s, ipv6cp, Stopped);
}
- else
+ else if (*p != CodeRej)
{
int code = *p;
int mru = session[s].mru;
else // compression requested--reject
*p = ConfigRej;
- q = makeppp(b, sizeof(b), p, l, s, t, PPPCCP);
+ q = makeppp(b,sizeof(b), p, l, s, t, PPPCCP);
if (!q) return;
switch (session[s].ppp.ccp)
tunnelsend(b, l + (q - b), t);
change_state(s, ccp, Stopped);
}
- else
+ else if (*p != CodeRej)
{
int code = *p;
int mru = session[s].mru;