// 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.87 2005-03-10 06:16:05 bodea Exp $";
+char const *cvs_id_l2tpns = "$Id: l2tpns.c,v 1.88 2005-03-10 06:18:47 bodea Exp $";
#include <arpa/inet.h>
#include <assert.h>
}
// 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;
// L2TPNS Global Stuff
-// $Id: l2tpns.h,v 1.60 2005-03-10 06:16:05 bodea Exp $
+// $Id: l2tpns.h,v 1.61 2005-03-10 06:18:47 bodea Exp $
#ifndef __L2TPNS_H__
#define __L2TPNS_H__
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);