diff options
author | ivan <ivan> | 2004-10-06 13:33:25 +0000 |
---|---|---|
committer | ivan <ivan> | 2004-10-06 13:33:25 +0000 |
commit | 8590a91eb0d64755dff5622a152ab6b5136d8520 (patch) | |
tree | f70d318b9e93af1822fb48b652aa757476bb40f9 /httemplate/search/sqlradius.cgi | |
parent | eb4cf5563939a08eba1a10d8c2a8f52205f6535b (diff) |
small formatting updates to RADIUS report
Diffstat (limited to 'httemplate/search/sqlradius.cgi')
-rw-r--r-- | httemplate/search/sqlradius.cgi | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/httemplate/search/sqlradius.cgi b/httemplate/search/sqlradius.cgi index 9cc5958ee..bb51acb7a 100644 --- a/httemplate/search/sqlradius.cgi +++ b/httemplate/search/sqlradius.cgi @@ -126,6 +126,7 @@ return ' ' if $time == 0; my $pretty = time2str('%T%P %a %b %o %Y', $time ); $pretty =~ s/ (\d)(st|dn|rd|th)/ $1$2/; + $pretty; }; my $duration_format = sub { @@ -171,19 +172,19 @@ fmt => $customer_format, }, 'framedipaddress' => { - name => 'IP Address', + name => 'IP Address', attrib => 'Framed-IP-Address', fmt => sub { my $ip = shift; length($ip) ? $ip : ' '; }, }, 'acctstarttime' => { - name => 'Start time', + name => 'Start time', attrib => 'Acct-Start-Time', fmt => $time_format, }, 'acctstoptime' => { - name => 'End time', + name => 'End time', attrib => 'Acct-Stop-Time', fmt => $time_format, }, |