ipmon(): remove screen_idx variable
commit8e8904703e3a4470ade63fd7a5867fe7b7fd9a1b
authorVitezslav Samel <vitezslav@samel.cz>
Mon, 9 Jun 2014 13:05:32 +0000 (9 15:05 +0200)
committerNikola Pajkovsky <n.pajkovsky@gmail.com>
Mon, 9 Jun 2014 14:23:59 +0000 (10 02:23 +1200)
tree377ae8942256f97d46d91317a1d47609fa593a61
parent7760af3c1c80b388ef2b6924b159a8292d0d810c
ipmon(): remove screen_idx variable

There is no point to maintain screen_idx variable: its value follows
the value of table->firstvisible->index variable. Kill this variable
in ipmon() and fix all the places which used it.

Signed-off-by: Vitezslav Samel <vitezslav@samel.cz>
Signed-off-by: Nikola Pajkovsky <n.pajkovsky@gmail.com>
src/itrafmon.c
src/tcptable.c
src/tcptable.h