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