From 2c9a9aff5a61789fba87a92fe566e6018db318ae Mon Sep 17 00:00:00 2001 From: Pascal Quantin Date: Fri, 26 Jun 2015 10:05:37 -0700 Subject: [PATCH] Replace pinfo->fd->flags.visited calls by PINFO_FD_VISITED(pinfo) in documentation Change-Id: If92787ddf3444edc466f04d7c2d9327cb8a50fba Reviewed-on: https://code.wireshark.org/review/9173 Reviewed-by: Anders Broman --- doc/README.dissector | 2 +- doc/README.request_response_tracking | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/README.dissector b/doc/README.dissector index cdfce9ab1e..e5c955d21a 100644 --- a/doc/README.dissector +++ b/doc/README.dissector @@ -2489,7 +2489,7 @@ So add the following items to the struct that is used for the protocol data: nstime_t ts_prev; The ts_prev value should only be set during the first run through the -packets (ie pinfo->fd->flags.visited is false). +packets (ie PINFO_FD_VISITED(pinfo) is false). Next step is to use the per-packet information (described in section 2.5) to keep the calculated delta timestamp, as it can only be calculated diff --git a/doc/README.request_response_tracking b/doc/README.request_response_tracking index 47a3845044..856d5bf863 100644 --- a/doc/README.request_response_tracking +++ b/doc/README.request_response_tracking @@ -103,7 +103,7 @@ actual dissector. conversation_add_proto_data(conversation, proto_pana, pana_info); } - if (!pinfo->fd->flags.visited) { + if (!PINFO_FD_VISITED(pinfo)) { if (flags&PANA_FLAG_R) { /* This is a request */ pana_trans=wmem_new(wmem_file_scope(), pana_transaction_t);