fix Calling-Station-Id in RADIUS accounting records
This commit is contained in:
parent
2ddf1bced8
commit
c463b012b7
5 changed files with 11 additions and 7 deletions
3
Changes
3
Changes
|
|
@ -1,3 +1,6 @@
|
|||
* Fri Sep 30 2005 Brendan O'Dea <bod@optus.net> 2.1.9
|
||||
- Fix Calling-Station-Id in RADIUS accounting records (Slobodan Tomic).
|
||||
|
||||
* Mon Sep 19 2005 Brendan O'Dea <bod@optus.net> 2.1.8
|
||||
- Move code from signal handlers into mainloop, avoiding a race
|
||||
condition when forking CLI.
|
||||
|
|
|
|||
1
THANKS
1
THANKS
|
|
@ -19,3 +19,4 @@ Vladislav Bjelic <vladislav@gmail.com>
|
|||
Alex Kiernan <alex.kiernan@gmail.com>
|
||||
Dominique Rousseau <d.rousseau@nnx.com>
|
||||
Tim Devries <tdevries@northrock.bm>
|
||||
Slobodan Tomic <stomic@loznica.com>
|
||||
|
|
|
|||
4
l2tpns.h
4
l2tpns.h
|
|
@ -1,5 +1,5 @@
|
|||
// L2TPNS Global Stuff
|
||||
// $Id: l2tpns.h,v 1.92 2005/09/19 00:29:12 bodea Exp $
|
||||
// $Id: l2tpns.h,v 1.93 2005/09/30 13:13:26 bodea Exp $
|
||||
|
||||
#ifndef __L2TPNS_H__
|
||||
#define __L2TPNS_H__
|
||||
|
|
@ -15,7 +15,7 @@
|
|||
#include <sys/types.h>
|
||||
#include <libcli.h>
|
||||
|
||||
#define VERSION "2.1.8"
|
||||
#define VERSION "2.1.9"
|
||||
|
||||
// Limits
|
||||
#define MAXTUNNEL 500 // could be up to 65535
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
Summary: A high-speed clustered L2TP LNS
|
||||
Name: l2tpns
|
||||
Version: 2.1.8
|
||||
Version: 2.1.9
|
||||
Release: 1
|
||||
Copyright: GPL
|
||||
Group: System Environment/Daemons
|
||||
|
|
@ -43,5 +43,5 @@ rm -rf %{buildroot}
|
|||
%attr(644,root,root) /usr/share/man/man[58]/*
|
||||
|
||||
%changelog
|
||||
* Mon Sep 19 2005 Brendan O'Dea <bod@optus.net> 2.1.8-1
|
||||
- 2.1.8 release, see /usr/share/doc/l2tpns-2.1.8/Changes
|
||||
* Fri Sep 30 2005 Brendan O'Dea <bod@optus.net> 2.1.9-1
|
||||
- 2.1.9 release, see /usr/share/doc/l2tpns-2.1.9/Changes
|
||||
|
|
|
|||
4
radius.c
4
radius.c
|
|
@ -1,6 +1,6 @@
|
|||
// L2TPNS Radius Stuff
|
||||
|
||||
char const *cvs_id_radius = "$Id: radius.c,v 1.41 2005/08/31 12:41:09 bodea Exp $";
|
||||
char const *cvs_id_radius = "$Id: radius.c,v 1.42 2005/09/30 13:13:26 bodea Exp $";
|
||||
|
||||
#include <time.h>
|
||||
#include <stdio.h>
|
||||
|
|
@ -326,7 +326,7 @@ void radiussend(uint16_t r, uint8_t state)
|
|||
strcpy((char *) p + 2, session[s].called);
|
||||
p += p[1];
|
||||
}
|
||||
else if (*session[s].calling)
|
||||
if (*session[s].calling)
|
||||
{
|
||||
*p = 31; // calling
|
||||
p[1] = strlen(session[s].calling) + 2;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue