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/hostlist_ip.c | |
parent | b74a4c3cd1634a5517542dd3d0757b18912dcfa8 (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/hostlist_ip.c')
-rw-r--r-- | gtk/hostlist_ip.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) |