aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorPascal Quantin <pascal.quantin@gmail.com>2015-06-26 10:05:37 -0700
committerAnders Broman <a.broman58@gmail.com>2015-06-26 17:41:11 +0000
commit2c9a9aff5a61789fba87a92fe566e6018db318ae (patch)
treef8f85dc4cc777ee0227188d99773ced07ada8086 /doc
parent304f9021f4356b8957a902ab7d8abf86517beb2f (diff)
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 <a.broman58@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/README.dissector2
-rw-r--r--doc/README.request_response_tracking2
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);