print_packet_drops(): use getmaxy() to get the last line
commitce4e7a5547b95645421c641ab4e69b137deaa4bf
authorVitezslav Samel <vitezslav@samel.cz>
Thu, 12 Jun 2014 09:40:07 +0000 (12 11:40 +0200)
committerNikola Pajkovsky <n.pajkovsky@gmail.com>
Thu, 19 Jun 2014 13:46:47 +0000 (20 01:46 +1200)
tree75ab452033533ba98397468dfbeebad6c9c33f14
parentb087f62514d4156adacf1d01bde642509392eb78
print_packet_drops(): use getmaxy() to get the last line

We are always printing dropped packets count to the last line of the
given window, so compute the right line here (getmaxy(win) - 1).

Signed-off-by: Vitezslav Samel <vitezslav@samel.cz>
Signed-off-by: Nikola Pajkovsky <n.pajkovsky@gmail.com>
src/deskman.c
src/deskman.h
src/detstats.c
src/hostmon.c
src/ifstats.c
src/itrafmon.c
src/pktsize.c
src/serv.c