circuit: rename shadow variable

Change-Id: I67e2c80e89af9526ba4b482933d64cab93b9490a
Reviewed-on: https://code.wireshark.org/review/16105
Reviewed-by: Anders Broman <a.broman58@gmail.com>
This commit is contained in:
Dario Lombardo 2016-06-23 17:52:51 +02:00 committed by Anders Broman
parent 12efbd6b40
commit 01e22809ff
2 changed files with 2 additions and 2 deletions

View File

@ -120,7 +120,7 @@ circuit_new(circuit_type ctype, guint32 circuit_id, guint32 first_frame)
circuit->next = NULL;
circuit->first_frame = first_frame;
circuit->last_frame = 0; /* not known yet */
circuit->index = new_index;
circuit->circuit_index = new_index;
circuit->data_list = NULL;
circuit->dissector_handle = NULL;
circuit->key_ptr = new_key;

View File

@ -42,7 +42,7 @@ typedef struct circuit {
struct circuit *next; /**< pointer to next circuit with given circuit ID */
guint32 first_frame; /**< # of first frame for that circuit */
guint32 last_frame; /**< # of last frame for that circuit */
guint32 index; /**< unique ID for circuit */
guint32 circuit_index; /**< unique ID for circuit */
GSList *data_list; /**< list of data associated with circuit */
dissector_handle_t dissector_handle; /**< handle for protocol dissector client associated with circuit */
guint options; /**< wildcard flags */