projects
/
l2tpns.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
811379c
)
*** empty log message ***
author
bodea
<bodea>
Thu, 10 Mar 2005 06:18:47 +0000
(06:18 +0000)
committer
bodea
<bodea>
Thu, 10 Mar 2005 06:18:47 +0000
(06:18 +0000)
l2tpns.c
patch
|
blob
|
history
l2tpns.h
patch
|
blob
|
history
diff --git
a/l2tpns.c
b/l2tpns.c
index
7bc0d75
..
8dc1f74
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.8
7 2005/03/10 06:16:05
bodea Exp $";
+char const *cvs_id_l2tpns = "$Id: l2tpns.c,v 1.8
8 2005/03/10 06:18:47
bodea Exp $";
#include <arpa/inet.h>
#include <assert.h>
#include <arpa/inet.h>
#include <assert.h>
@@
-1433,7
+1433,7
@@
static void filter_session(sessionidt s, int filter_in, int filter_out)
}
// start tidy shutdown of session
}
// start tidy shutdown of session
-void sessionshutdown(sessionidt s, char *reason, int result, int
code
)
+void sessionshutdown(sessionidt s, char *reason, int result, int
error
)
{
int walled_garden = session[s].walled_garden;
{
int walled_garden = session[s].walled_garden;
diff --git
a/l2tpns.h
b/l2tpns.h
index
8524ca1
..
74b8d93
100644
(file)
--- a/
l2tpns.h
+++ b/
l2tpns.h
@@
-1,5
+1,5
@@
// L2TPNS Global Stuff
// L2TPNS Global Stuff
-// $Id: l2tpns.h,v 1.6
0 2005/03/10 06:16:05
bodea Exp $
+// $Id: l2tpns.h,v 1.6
1 2005/03/10 06:18:47
bodea Exp $
#ifndef __L2TPNS_H__
#define __L2TPNS_H__
#ifndef __L2TPNS_H__
#define __L2TPNS_H__
@@
-617,7
+617,7
@@
sessionidt sessionbyipv6(struct in6_addr ip);
sessionidt sessionbyuser(char *username);
void random_data(uint8_t *buf, int len);
void sessionkill(sessionidt s, char *reason);
sessionidt sessionbyuser(char *username);
void random_data(uint8_t *buf, int len);
void sessionkill(sessionidt s, char *reason);
-void sessionshutdown(sessionidt s, char *reason, int result, error);
+void sessionshutdown(sessionidt s, char *reason, int result,
int
error);
void send_garp(in_addr_t ip);
void tunnelsend(uint8_t *buf, uint16_t l, tunnelidt t);
void sendipcp(tunnelidt t, sessionidt s);
void send_garp(in_addr_t ip);
void tunnelsend(uint8_t *buf, uint16_t l, tunnelidt t);
void sendipcp(tunnelidt t, sessionidt s);