aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/hostlist_ip.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/hostlist_ip.c')
-rw-r--r--gtk/hostlist_ip.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gtk/hostlist_ip.c b/gtk/hostlist_ip.c
index a5a18758eb..73d8d92526 100644
--- a/gtk/hostlist_ip.c
+++ b/gtk/hostlist_ip.c
@@ -41,7 +41,6 @@
#include <epan/dissectors/packet-ip.h>
#include "../stat_menu.h"
-#include "../register.h"
#include "gtk/gui_stat_menu.h"
#include "gtk/hostlist_table.h"
@@ -54,7 +53,7 @@ ip_hostlist_packet(void *pit, packet_info *pinfo, epan_dissect_t *edt _U_, const
const ws_ip *iph=vip;
/* Take two "add" passes per packet, adding for each direction, ensures that all
- packets are counted properly (even if address is sending to itself)
+ packets are counted properly (even if address is sending to itself)
XXX - this could probably be done more efficiently inside hostlist_table */
add_hostlist_table_data(hosts, &iph->ip_src, 0, TRUE, 1, pinfo->fd->pkt_len, SAT_NONE, PT_NONE);
add_hostlist_table_data(hosts, &iph->ip_dst, 0, FALSE, 1, pinfo->fd->pkt_len, SAT_NONE, PT_NONE);