summaryrefslogtreecommitdiff
path: root/flowtop.c
diff options
context:
space:
mode:
Diffstat (limited to 'flowtop.c')
-rw-r--r--flowtop.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/flowtop.c b/flowtop.c
index 41e80b7..cf0e478 100644
--- a/flowtop.c
+++ b/flowtop.c
@@ -1212,8 +1212,8 @@ static void presenter(void)
int skip_lines = 0;
WINDOW *screen;
- lookup_init_ports(PORTS_TCP);
- lookup_init_ports(PORTS_UDP);
+ lookup_init(LT_PORTS_TCP);
+ lookup_init(LT_PORTS_UDP);
screen = screen_init(false);
start_color();
@@ -1292,8 +1292,8 @@ static void presenter(void)
rcu_unregister_thread();
screen_end();
- lookup_cleanup_ports(PORTS_UDP);
- lookup_cleanup_ports(PORTS_TCP);
+ lookup_cleanup(LT_PORTS_UDP);
+ lookup_cleanup(LT_PORTS_TCP);
}
static int flow_event_cb(enum nf_conntrack_msg_type type,