aboutsummaryrefslogtreecommitdiffstats
path: root/gtk
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2009-05-20 15:50:40 +0000
committerGerald Combs <gerald@wireshark.org>2009-05-20 15:50:40 +0000
commite2c0d132e10921d997a16728ac255a09a78e862a (patch)
tree8d7308b0b3ba90d9f70e1053a3e1ae6bf71a0804 /gtk
parentb74a4c3cd1634a5517542dd3d0757b18912dcfa8 (diff)
From Jakub Zawadzki via bug 3421:
e_ip->ip_ttl is currently always set to 0, in attachment fix. I also (in same patch, sorry) submit cleanup to use ep_alloc() instead of static e_ip buffers, I didn't test it, but I hope it's ok. There's note about static buffers in doc/README.tapping, which should also be updated, but I don't feel so good with my English :) From me: Rename e_ip to ws_ip. Update the static buffers note in README.tapping. svn path=/trunk/; revision=28425
Diffstat (limited to 'gtk')
-rw-r--r--gtk/conversations_ip.c2
-rw-r--r--gtk/hostlist_ip.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/gtk/conversations_ip.c b/gtk/conversations_ip.c
index 3a6f79860c..2a47be9291 100644
--- a/gtk/conversations_ip.c
+++ b/gtk/conversations_ip.c
@@ -48,7 +48,7 @@
static int
ip_conversation_packet(void *pct, packet_info *pinfo, epan_dissect_t *edt _U_, const void *vip)
{
- const e_ip *iph=vip;
+ const ws_ip *iph=vip;
add_conversation_table_data((conversations_table *)pct, &iph->ip_src, &iph->ip_dst, 0, 0, 1, pinfo->fd->pkt_len, &pinfo->fd->rel_ts, SAT_NONE, PT_NONE);
diff --git a/gtk/hostlist_ip.c b/gtk/hostlist_ip.c
index 29923ba63d..a5a18758eb 100644
--- a/gtk/hostlist_ip.c
+++ b/gtk/hostlist_ip.c
@@ -51,7 +51,7 @@ static int
ip_hostlist_packet(void *pit, packet_info *pinfo, epan_dissect_t *edt _U_, const void *vip)
{
hostlist_table *hosts=(hostlist_table *)pit;
- const e_ip *iph=vip;
+ 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)