When a graph is launched based upon an AM status PDU, make it for the

opposite direction.

svn path=/trunk/; revision=44440
This commit is contained in:
Martin Mathieson 2012-08-11 03:53:13 +00:00
parent 72ddab2c98
commit 6f6ef84c5d
1 changed files with 8 additions and 1 deletions

View File

@ -822,7 +822,14 @@ tap_lte_rlc_packet(void *pct, packet_info *pinfo _U_, epan_dissect_t *edt _U_, c
/* Add address if unique and have space for it */
if (is_unique && (th->num_hdrs < MAX_SUPPORTED_CHANNELS)) {
th->rlchdrs[th->num_hdrs++] = header;
/* Copy the tap stuct in as next header */
th->rlchdrs[th->num_hdrs] = header;
/* Store in direction of data though... */
if (th->rlchdrs[th->num_hdrs]->isControlPDU) {
th->rlchdrs[th->num_hdrs]->direction = !th->rlchdrs[th->num_hdrs]->direction;
}
th->num_hdrs++;
}
return 0;