Choose direction properly if launching graph based upon channel of

selected frame.

svn path=/trunk/; revision=46411
This commit is contained in:
Martin Mathieson 2012-12-05 22:05:18 +00:00
parent 41a8f22c3c
commit d1457cfca8
1 changed files with 2 additions and 1 deletions

View File

@ -961,7 +961,8 @@ static rlc_lte_tap_info *select_rlc_lte_session(capture_file *cf, struct segment
hdrs->channelType = th.rlchdrs[0]->channelType;
hdrs->channelId = th.rlchdrs[0]->channelId;
hdrs->rlcMode = th.rlchdrs[0]->rlcMode;
hdrs->direction = th.rlchdrs[0]->direction;
hdrs->isControlPDU = th.rlchdrs[0]->isControlPDU;
hdrs->direction = !hdrs->isControlPDU ? th.rlchdrs[0]->direction : !th.rlchdrs[0]->direction;
return th.rlchdrs[0];
}