aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ip.h
diff options
context:
space:
mode:
authorgerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>2009-05-20 15:50:40 +0000
committergerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>2009-05-20 15:50:40 +0000
commit6ac0479b385a3c7183f44b863614f2ba11e91166 (patch)
tree8d7308b0b3ba90d9f70e1053a3e1ae6bf71a0804 /epan/dissectors/packet-ip.h
parent664ccb8b7243749a68824b7061a97afba565d427 (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. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28425 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-ip.h')
-rw-r--r--epan/dissectors/packet-ip.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-ip.h b/epan/dissectors/packet-ip.h
index 256a414d09..4ce89d02e8 100644
--- a/epan/dissectors/packet-ip.h
+++ b/epan/dissectors/packet-ip.h
@@ -26,7 +26,7 @@
#ifndef __PACKET_IP_H__
#define __PACKET_IP_H__
-typedef struct _e_ip
+typedef struct _ws_ip
{
guint8 ip_v_hl; /* combines ip_v and ip_hl */
guint8 ip_tos;
@@ -38,7 +38,7 @@ typedef struct _e_ip
guint16 ip_sum;
address ip_src;
address ip_dst;
-} e_ip;
+} ws_ip;
void capture_ip(const guchar *, int, int, packet_counts *);