Show 'Active' filter status if 'a' was pressed. Signed-off-by: Vadim Kochan <vadi...@gmail.com> --- flowtop.c | 4 ++++ 1 file changed, 4 insertions(+)
diff --git a/flowtop.c b/flowtop.c index 52e4bef..d90e1ee 100644 --- a/flowtop.c +++ b/flowtop.c @@ -1146,6 +1146,7 @@ static void draw_flows(WINDOW *screen, struct flow_list *fl, } mvwprintw(screen, 1, 2, "Kernel netfilter flows(%u) for ", flows); + if (what & INCLUDE_IPV4) printw("IPv4,"); if (what & INCLUDE_IPV6) @@ -1162,6 +1163,9 @@ static void draw_flows(WINDOW *screen, struct flow_list *fl, printw("ICMP,"); if (what & INCLUDE_ICMP && what & INCLUDE_IPV6) printw("ICMP6,"); + if (show_active_only) + printw("Active,"); + printw(" [+%d]", skip_lines); if (is_flow_collecting) -- 2.6.3 -- You received this message because you are subscribed to the Google Groups "netsniff-ng" group. To unsubscribe from this group and stop receiving emails from it, send an email to netsniff-ng+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.