Your message dated Sun, 3 Jan 2010 16:21:14 +0100
with message-id <[email protected]>
has caused the report #368662,
regarding freeradius-dialupadmin: Online Users page shows "unknown free lines"
independent of nas_port_num value
to be marked as having been forwarded to the upstream software
author(s) Alan DeKok <[email protected]>
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
368662: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=368662
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Hi,
Here's another old patch for dialupadmin, but the code is still the same.
I'm not sure if it should be adjusted to be more similar to the handling of
other pairs I observed in the same code:
$nas[finger_type] vs. $config[general_finger_type]
$nas[type] vs. $config[general_nas_type]
----- Forwarded message from Arve Seljebu <[email protected]> -----
Subject: Bug#368662: freeradius-dialupadmin: Online Users page shows "unknown
free lines" independent of nas_port_num value
Date: Tue, 23 May 2006 23:29:58 +0200
Package: freeradius-dialupadmin
Version: 1.0.2-4
Severity: minor
Here is a patch to solve this bug:
--- user_finger.php3 2004-04-20 15:14:18.000000000 +0200
+++ /usr/share/freeradius-dialupadmin/htdocs/user_finger.php3 2006-05-23
23:17:01.177267176 +0200
@@ -109,7 +109,7 @@
$height[$servers_num] = $h;
}
$server_loggedin[$servers_num] = $num;
- $server_rem[$servers_num] = ($config[$portnum]) ?
($config[$portnum] - $num) : 'unknown';
+ $server_rem[$servers_num] = ($nas[port_num]) ? ($nas[port_num]
- $num) : 'unknown';
$tot_in += $num;
if (is_numeric($server_rem[$servers_num]))
$tot_rem += $server_rem[$servers_num];
-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-386
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Versions of packages freeradius-dialupadmin depends on:
ii apache [httpd] 1.3.33-6sarge1 versatile, high-performance HTTP s
ii apache-ssl [httpd] 1.3.33-6sarge1 versatile, high-performance HTTP s
ii php4 4:4.3.10-16 server-side, HTML-embedded scripti
-- no debconf information
----- End forwarded message -----
--
2. That which causes joy or happiness.
--- End Message ---