projects
/
l2tpns.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
0f28e4f
)
*** empty log message ***
author
Brendan O'Dea
<bod@optus.net>
Sat, 7 May 2005 08:53:23 +0000
(08:53 +0000)
committer
Brendan O'Dea
<bod@optus.net>
Sat, 7 May 2005 08:53:23 +0000
(08:53 +0000)
l2tpns.c
patch
|
blob
|
history
ppp.c
patch
|
blob
|
history
diff --git
a/l2tpns.c
b/l2tpns.c
index
4000173
..
74c6981
100644
(file)
--- a/
l2tpns.c
+++ b/
l2tpns.c
@@
-4,7
+4,7
@@
// Copyright (c) 2002 FireBrick (Andrews & Arnold Ltd / Watchfront Ltd) - GPL licenced
// vim: sw=8 ts=8
// Copyright (c) 2002 FireBrick (Andrews & Arnold Ltd / Watchfront Ltd) - GPL licenced
// vim: sw=8 ts=8
-char const *cvs_id_l2tpns = "$Id: l2tpns.c,v 1.9
6 2005-05-07 08:17:25
bodea Exp $";
+char const *cvs_id_l2tpns = "$Id: l2tpns.c,v 1.9
7 2005-05-07 08:53:23
bodea Exp $";
#include <arpa/inet.h>
#include <assert.h>
#include <arpa/inet.h>
#include <assert.h>
@@
-1544,7
+1544,7
@@
void sendipcp(tunnelidt t, sessionidt s)
if (!r)
{
if (!r)
{
- sessionshutdown(s, "No free RADIUS sessions for IPCP");
+ sessionshutdown(s, "No free RADIUS sessions for IPCP"
, 3, 0
);
return;
}
return;
}
diff --git
a/ppp.c
b/ppp.c
index
0832f97
..
fb63d88
100644
(file)
--- a/
ppp.c
+++ b/
ppp.c
@@
-1,6
+1,6
@@
// L2TPNS PPP Stuff
// L2TPNS PPP Stuff
-char const *cvs_id_ppp = "$Id: ppp.c,v 1.
49 2005-05-07 08:17:25
bodea Exp $";
+char const *cvs_id_ppp = "$Id: ppp.c,v 1.
50 2005-05-07 08:53:23
bodea Exp $";
#include <stdio.h>
#include <string.h>
#include <stdio.h>
#include <string.h>
@@
-285,7
+285,7
@@
static void dumplcp(uint8_t *p, int l)
{
int proto = ntohs(*(uint16_t *)(o + 2));
int algo = *(uint8_t *)(o + 4);
{
int proto = ntohs(*(uint16_t *)(o + 2));
int algo = *(uint8_t *)(o + 4);
- LOG(4, 0, 0, " %s 0x%x 0x%x (%s)\n", lcp_type
s[type]
, proto, algo,
+ LOG(4, 0, 0, " %s 0x%x 0x%x (%s)\n", lcp_type
(type)
, proto, algo,
(proto == PPPCHAP && algo == 5) ? "CHAP MD5" : "UNSUPPORTED");
}
else
(proto == PPPCHAP && algo == 5) ? "CHAP MD5" : "UNSUPPORTED");
}
else
@@
-403,7
+403,6
@@
void processlcp(tunnelidt t, sessionidt s, uint8_t *p, uint16_t l)
case 3: // Authentication-Protocol
{
int proto = ntohs(*(uint16_t *)(o + 2));
case 3: // Authentication-Protocol
{
int proto = ntohs(*(uint16_t *)(o + 2));
- uint16_t wanted_proto;
char proto_name[] = "0x0000";
if (proto == PPPPAP)
char proto_name[] = "0x0000";
if (proto == PPPPAP)