diff options
author | Gerald Combs <gerald@wireshark.org> | 2009-05-20 15:50:40 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2009-05-20 15:50:40 +0000 |
commit | e2c0d132e10921d997a16728ac255a09a78e862a (patch) | |
tree | 8d7308b0b3ba90d9f70e1053a3e1ae6bf71a0804 /gtk/conversations_ip.c | |
parent | b74a4c3cd1634a5517542dd3d0757b18912dcfa8 (diff) | |
download | wireshark-e2c0d132e10921d997a16728ac255a09a78e862a.tar.gz wireshark-e2c0d132e10921d997a16728ac255a09a78e862a.tar.bz2 wireshark-e2c0d132e10921d997a16728ac255a09a78e862a.zip |
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/conversations_ip.c')
-rw-r--r-- | gtk/conversations_ip.c | 2 |
1 files changed, 1 insertions, 1 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); |