diff --git a/CHANGES b/CHANGES index 5e62d6b..cbe11e5 100644 --- a/CHANGES +++ b/CHANGES @@ -8,6 +8,7 @@ On-the-fly filter code changes Shell escape Alternative resolver back-ends Improved totals display +Added regexp based screen filtering 0.9 22/10/02 diff --git a/iftop.c b/iftop.c index 232eaf9..19d24c4 100644 --- a/iftop.c +++ b/iftop.c @@ -353,6 +353,7 @@ void packet_init() { strncpy(ifr.ifr_name, options.interface, IFNAMSIZ); ifr.ifr_hwaddr.sa_family = AF_UNSPEC; if (ioctl(s, SIOCGIFHWADDR, &ifr) == -1) { + fprintf(stderr, "Error getting hardware address for interface: %s\n", options.interface); perror("ioctl(SIOCGIFHWADDR)"); exit(1); } diff --git a/ui.c b/ui.c index bed0f78..2948a79 100644 --- a/ui.c +++ b/ui.c @@ -558,7 +558,9 @@ void ui_print() { if(showhelphint) { mvaddstr(0, 0, helpmsg); clrtoeol(); + mvchgat(0, 0, -1, A_REVERSE, 0, NULL); } + move(LINES - 1, COLS - 1); refresh();