forked from osmocom/wireshark
Choose direction properly if launching graph based upon channel of
selected frame. svn path=/trunk/; revision=46411
This commit is contained in:
parent
41a8f22c3c
commit
d1457cfca8
|
@ -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];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue