packet_info: Fix a comment

The proto_layers map maps to values of curr_proto_layer_num,
not curr_layer_num.
This commit is contained in:
John Thacker 2022-07-28 20:47:21 -04:00
parent 5e715340bf
commit 9c5f1255af
1 changed files with 1 additions and 1 deletions

View File

@ -135,7 +135,7 @@ typedef struct _packet_info {
GHashTable *private_table; /**< a hash table passed from one dissector to another */
wmem_list_t *layers; /**< layers of each protocol */
wmem_map_t *proto_layers; /** map of proto_id to curr_layer_num. */
wmem_map_t *proto_layers; /** map of proto_id to curr_proto_layer_num. */
guint8 curr_layer_num; /**< The current "depth" or layer number in the current frame */
guint8 curr_proto_layer_num; /**< The current "depth" or layer number for this dissector in the current frame */
guint16 link_number;