diff options
author | C.J. Adams-Collier <cjac@colliertech.org> | 2014-09-15 18:37:25 -0700 |
---|---|---|
committer | C.J. Adams-Collier <cjac@colliertech.org> | 2014-09-15 18:37:29 -0700 |
commit | 866980f54aa0ad5a9ace05d30f96c84b842463bb (patch) | |
tree | 79ab4779dcd5eaaf9a4032e6e845382338f7b715 /httemplate/view/elements | |
parent | df9caf6e66f4fd7a6a5f46438583414314d82107 (diff) |
FS RT #28105 - found more instances of megabyte to change to gigabyte
Diffstat (limited to 'httemplate/view/elements')
-rw-r--r-- | httemplate/view/elements/svc_radius_usage.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/httemplate/view/elements/svc_radius_usage.html b/httemplate/view/elements/svc_radius_usage.html index 08d6d53d3..471969175 100644 --- a/httemplate/view/elements/svc_radius_usage.html +++ b/httemplate/view/elements/svc_radius_usage.html @@ -21,10 +21,10 @@ % % my $input = $svc->attribute_since_sqlradacct( % $last_bill, time, 'AcctInputOctets' -% ) / 1048576; +% ) / 1073741824; % my $output = $svc->attribute_since_sqlradacct( % $last_bill, time, 'AcctOutputOctets' -% ) / 1048576; +% ) / 1073741824; % % my $last_mac = $svc->attribute_last_sqlradacct( 'CallingStationId' ); % if ( $last_mac =~ /^\s*(([\dA-F]{2}[\-:]){5}[\dA-F]{2})/i ) { @@ -57,8 +57,8 @@ % } - Upload: <B><% sprintf("%.3f", $input) %></B> megabytes<BR> - Download: <B><% sprintf("%.3f", $output) %></B> megabytes<BR> + Upload: <B><% sprintf("%.3f", $input) %></B> gigabytes<BR> + Download: <B><% sprintf("%.3f", $output) %></B> gigabytes<BR> % if ( $svc->table eq 'svc_acct' ) { Last Login: <B><% $svc->last_login_text %></B><BR> % } |