diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2015-11-15 15:47:43 +0100 |
---|---|---|
committer | Tobias Klauser <tklauser@distanz.ch> | 2015-11-15 15:47:43 +0100 |
commit | bb60eb2e6af696443426f45360c697d03167507d (patch) | |
tree | c9d8099b079702409909102fefd1e8cab7b16dff /flowtop.c | |
parent | 16afc315b88661fd9cb15f97d886cac221287564 (diff) |
lookup: Make lookup type and function names more generic
It's not only ports we look up, make the names a bit more generic.
Preparatory patch before moving OUI lookup to the lookup module.
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'flowtop.c')
-rw-r--r-- | flowtop.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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, |