Project

General

Profile

Actions

Bug #1338

closed

captiveportal_prune_old no longer works

Added by Thomas NOEL about 13 years ago. Updated about 13 years ago.

Status:
Closed
Priority:
Urgent
Assignee:
-
Category:
Captive Portal
Target version:
Start date:
03/08/2011
Due date:
03/08/2011
% Done:

50%

Estimated time:
0.20 h
Plus Target Version:
Release Notes:
Affected Version:
2.0
Affected Architecture:
All

Description

In /etc/inc/captiveportal.inc, captiveportal_read_db now returns a array() with sessionid.

captiveportal_prune_old() must be adapted to use this new return value. Currently, it doesn't close any session...

Patch below (tested).

Thanks.


Files

captiveportal.inc.diff (6.04 KB) captiveportal.inc.diff Thomas NOEL, 03/08/2011 08:21 AM
captiveportal.inc.diff (6.04 KB) captiveportal.inc.diff Thomas NOEL, 03/08/2011 08:28 AM
Actions #1

Updated by Thomas NOEL about 13 years ago

OOOOooooops... s/for/foreach/ in the patch. Sorry !!

New patch below.

Actions #2

Updated by Ermal Luçi about 13 years ago

  • Status changed from New to Closed

I hae put a patch separately of this.
Thanks for the prompt patch though.

Actions

Also available in: Atom PDF