b030a0d
Backported patch from Max Alekseyev <relf@os2.ru> for iftop >= 0.17, which
b030a0d
fixes lines drives going crazy if order is frozen. For further information,
b030a0d
please have a look to Debian bug ID #315734.
b030a0d
b030a0d
--- iftop-0.17/ui.c			2010-11-18 22:59:02.017809919 +0100
b030a0d
+++ iftop-0.17/ui.c.frozen-order	2010-11-18 23:01:11.124883438 +0100
b030a0d
@@ -446,6 +446,7 @@
b030a0d
     hash_node_type* n = NULL;
b030a0d
     while(hash_next_item(screen_hash, &n) == HASH_STATUS_OK) {
b030a0d
         host_pair_line* hpl = (host_pair_line*)n->rec;
b030a0d
+        hpl->total_recv = hpl->total_sent = 0;
b030a0d
         memset(hpl->recv, 0, sizeof(hpl->recv));
b030a0d
         memset(hpl->sent, 0, sizeof(hpl->sent));
b030a0d
     }