run PLUGIN_RADIUS_ACCOUNT for Start records
This commit is contained in:
parent
42f10c1ea0
commit
d14808035d
4 changed files with 13 additions and 10 deletions
3
Changes
3
Changes
|
|
@ -1,3 +1,6 @@
|
||||||
|
* Fri Dec 9 2005 Brendan O'Dea <bod@optus.net> 2.1.14
|
||||||
|
- Run PLUGIN_RADIUS_ACCOUNT for Start records.
|
||||||
|
|
||||||
* Wed Dec 7 2005 Brendan O'Dea <bod@optus.net> 2.1.13
|
* Wed Dec 7 2005 Brendan O'Dea <bod@optus.net> 2.1.13
|
||||||
- Add test/ping-sweep.
|
- Add test/ping-sweep.
|
||||||
- Apply spec changes from Charlie Brady: use License header, change
|
- Apply spec changes from Charlie Brady: use License header, change
|
||||||
|
|
|
||||||
4
l2tpns.h
4
l2tpns.h
|
|
@ -1,5 +1,5 @@
|
||||||
// L2TPNS Global Stuff
|
// L2TPNS Global Stuff
|
||||||
// $Id: l2tpns.h,v 1.105 2005-12-07 05:21:37 bodea Exp $
|
// $Id: l2tpns.h,v 1.106 2005-12-09 00:43:17 bodea Exp $
|
||||||
|
|
||||||
#ifndef __L2TPNS_H__
|
#ifndef __L2TPNS_H__
|
||||||
#define __L2TPNS_H__
|
#define __L2TPNS_H__
|
||||||
|
|
@ -15,7 +15,7 @@
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <libcli.h>
|
#include <libcli.h>
|
||||||
|
|
||||||
#define VERSION "2.1.13"
|
#define VERSION "2.1.14"
|
||||||
|
|
||||||
// Limits
|
// Limits
|
||||||
#define MAXTUNNEL 500 // could be up to 65535
|
#define MAXTUNNEL 500 // could be up to 65535
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
Summary: A high-speed clustered L2TP LNS
|
Summary: A high-speed clustered L2TP LNS
|
||||||
Name: l2tpns
|
Name: l2tpns
|
||||||
Version: 2.1.13
|
Version: 2.1.14
|
||||||
Release: 1
|
Release: 1
|
||||||
License: GPL
|
License: GPL
|
||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
|
|
@ -43,5 +43,5 @@ rm -rf %{buildroot}
|
||||||
%attr(644,root,root) /usr/share/man/man[58]/*
|
%attr(644,root,root) /usr/share/man/man[58]/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Wed Dec 7 2005 Brendan O'Dea <bod@optus.net> 2.1.13-1
|
* Fri Dec 9 2005 Brendan O'Dea <bod@optus.net> 2.1.14-1
|
||||||
- 2.1.13 release, see /usr/share/doc/l2tpns-2.1.13/Changes
|
- 2.1.14 release, see /usr/share/doc/l2tpns-2.1.14/Changes
|
||||||
|
|
|
||||||
10
radius.c
10
radius.c
|
|
@ -1,6 +1,6 @@
|
||||||
// L2TPNS Radius Stuff
|
// L2TPNS Radius Stuff
|
||||||
|
|
||||||
char const *cvs_id_radius = "$Id: radius.c,v 1.45 2005-10-19 03:09:30 bodea Exp $";
|
char const *cvs_id_radius = "$Id: radius.c,v 1.46 2005-12-09 00:43:17 bodea Exp $";
|
||||||
|
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
@ -304,11 +304,11 @@ void radiussend(uint16_t r, uint8_t state)
|
||||||
p[1] = 6;
|
p[1] = 6;
|
||||||
*(uint32_t *) (p + 2) = htonl(session[s].cout_wrap);
|
*(uint32_t *) (p + 2) = htonl(session[s].cout_wrap);
|
||||||
p += p[1];
|
p += p[1];
|
||||||
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
struct param_radius_account acct = { &tunnel[session[s].tunnel], &session[s], &p };
|
struct param_radius_account acct = { &tunnel[session[s].tunnel], &session[s], &p };
|
||||||
run_plugins(PLUGIN_RADIUS_ACCOUNT, &acct);
|
run_plugins(PLUGIN_RADIUS_ACCOUNT, &acct);
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue