aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-pdcp-lte.c
diff options
context:
space:
mode:
authorMartin Mathieson <martin.r.mathieson@googlemail.com>2012-01-23 14:39:38 +0000
committerMartin Mathieson <martin.r.mathieson@googlemail.com>2012-01-23 14:39:38 +0000
commit26d6d4ce8a7c65bbdd107f38081df0ff3dd4c4bb (patch)
tree0662b78a50a9437216403b480869c676cd278d5b /epan/dissectors/packet-pdcp-lte.c
parente553c70fe84d96edbe4b402d11e6db60b6965610 (diff)
Use plane rather than channelType as part of key for looking up channel
state for sequence analysis. svn path=/trunk/; revision=40659
Diffstat (limited to 'epan/dissectors/packet-pdcp-lte.c')
-rw-r--r--epan/dissectors/packet-pdcp-lte.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-pdcp-lte.c b/epan/dissectors/packet-pdcp-lte.c
index 94d4569090..4b0cf54c4e 100644
--- a/epan/dissectors/packet-pdcp-lte.c
+++ b/epan/dissectors/packet-pdcp-lte.c
@@ -320,7 +320,7 @@ static gboolean global_pdcp_dissect_rohc = FALSE;
typedef struct
{
guint16 ueId;
- LogicalChannelType channelType;
+ guint8 plane;
guint16 channelId;
guint8 direction;
} pdcp_channel_hash_key;
@@ -352,7 +352,7 @@ static guint pdcp_channel_hash_func(gconstpointer v)
const pdcp_channel_hash_key* val1 = (pdcp_channel_hash_key *)v;
/* TODO: use multipliers */
- return val1->ueId + val1->channelType + val1->channelId + val1->direction;
+ return val1->ueId + val1->plane + val1->channelId + val1->direction;
}
@@ -584,7 +584,7 @@ static void checkChannelSequenceInfo(packet_info *pinfo, tvbuff_t *tvb,
/* Create or find an entry for this channel state */
memset(&channel_key, 0, sizeof(channel_key));
channel_key.ueId = p_pdcp_lte_info->ueid;
- channel_key.channelType = p_pdcp_lte_info->channelType;
+ channel_key.plane = p_pdcp_lte_info->plane;
channel_key.channelId = p_pdcp_lte_info->channelId;
channel_key.direction = p_pdcp_lte_info->direction;