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>
This commit is contained in:
Pascal Quantin 2015-06-26 10:05:37 -07:00 committed by Anders Broman
parent 304f9021f4
commit 2c9a9aff5a
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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);