aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-tcp.c
diff options
context:
space:
mode:
authorGuy Harris <gharris@sonic.net>2022-08-23 19:06:55 -0700
committerGuy Harris <gharris@sonic.net>2022-08-23 19:07:25 -0700
commit4b53f31d2d456787dd07ac3694f98955aec52eb8 (patch)
tree37343dc8dfd6a327d6ca5834f56fac5b68dbd624 /epan/dissectors/packet-tcp.c
parent66e19f9622ff74a27ac4d4183f1ec2ea84e54a7e (diff)
Fix comments to reflect reality.
It's an endpoint table, not a table of hosts.
Diffstat (limited to 'epan/dissectors/packet-tcp.c')
-rw-r--r--epan/dissectors/packet-tcp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-tcp.c b/epan/dissectors/packet-tcp.c
index 174d88efb6..66c0014461 100644
--- a/epan/dissectors/packet-tcp.c
+++ b/epan/dissectors/packet-tcp.c
@@ -1007,7 +1007,7 @@ tcpip_hostlist_packet(void *pit, packet_info *pinfo, epan_dissect_t *edt _U_, co
/* Take two "add" passes per packet, adding for each direction, ensures that all
packets are counted properly (even if address is sending to itself)
- XXX - this could probably be done more efficiently inside hostlist_table */
+ XXX - this could probably be done more efficiently inside endpoint_table */
add_endpoint_table_data(hash, &tcphdr->ip_src, tcphdr->th_sport, TRUE, 1, pinfo->fd->pkt_len, &tcp_host_dissector_info, ENDPOINT_TCP);
add_endpoint_table_data(hash, &tcphdr->ip_dst, tcphdr->th_dport, FALSE, 1, pinfo->fd->pkt_len, &tcp_host_dissector_info, ENDPOINT_TCP);