aboutsummaryrefslogtreecommitdiffstats
path: root/epan/gcp.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2016-01-23 19:40:51 -0800
committerGuy Harris <guy@alum.mit.edu>2016-01-24 03:41:28 +0000
commitbc5a0374bfd162d08834f5f7503bebd33d8ec943 (patch)
tree6d5be93a3e35c6eb144ce6d2b1d95650b5cbbd86 /epan/gcp.c
parentbaea677290f84d4e30e86194c79bafef0fdc1ad2 (diff)
Add the packet number to the packet_info structure, and use it.
That removes most of the uses of the frame number field in the frame_data structure. Change-Id: Ie22e4533e87f8360d7c0a61ca6ffb796cc233f22 Reviewed-on: https://code.wireshark.org/review/13509 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'epan/gcp.c')
-rw-r--r--epan/gcp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/gcp.c b/epan/gcp.c
index a0ad66333b..bee194583d 100644
--- a/epan/gcp.c
+++ b/epan/gcp.c
@@ -85,7 +85,7 @@ void gcp_init(void) {
gcp_msg_t* gcp_msg(packet_info* pinfo, int o, gboolean keep_persistent_data) {
gcp_msg_t* m;
- guint32 framenum = (guint32)pinfo->fd->num;
+ guint32 framenum = (guint32)pinfo->num;
guint32 offset = (guint32)o;
address* src = &(pinfo->src);
address* dst = &(pinfo->dst);