Commit 00186b05 authored by Frank Bergmann's avatar Frank Bergmann

- fixed memory calculation

parent 08d6956e
......@@ -99,7 +99,7 @@ set ip_mac [im_system_ip_mac_address]
set ip_address [lindex $ip_mac 0]
set mac_address [lindex $ip_mac 1]
set total_memory [im_system_memory]
if {"" ne $total_memory} { set total_memory [expr round($total_memory / 1024.0) / 1024.] }
if {"" ne $total_memory} { set total_memory [expr round($total_memory / 1024.0)] }
set url "<a href=\"http://$ip_address/\" target=_new>http://$ip_address/</a>\n"
set debug ""
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment