diff options
-rw-r--r-- | TODO | 1 | ||||
-rwxr-xr-x | src/net_monitor | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -12,3 +12,4 @@ TODO for net_monitor: - advanced network statistics (/proc/net/netstat) - socket statistics - ip forwarding (/proc/sys/net/ipv4/ip_forward) + - graphs: correctly shift values diff --git a/src/net_monitor b/src/net_monitor index ba5939b..42524e7 100755 --- a/src/net_monitor +++ b/src/net_monitor @@ -146,7 +146,7 @@ class LoadGraph: self.__set_context_color(self.__context, color) x = self.__inner.x + self.__mesh_x - for i in bw_list[:-1]: + for i in bw_list[1:]: self.__context.line_to(x, i) x += self.__mesh_x self.__context.stroke() |