diff options
author | Martin Mathieson <martin.r.mathieson@googlemail.com> | 2012-12-05 22:05:18 +0000 |
---|---|---|
committer | Martin Mathieson <martin.r.mathieson@googlemail.com> | 2012-12-05 22:05:18 +0000 |
commit | d1457cfca8139341c2ee531f27210899dfbd9fd5 (patch) | |
tree | 64634770d1ae2d7cb09b0fb443409143e67f2496 /ui/gtk/rlc_lte_graph.c | |
parent | 41a8f22c3c3c5b1b69c1c6f93b2c391f79b53e4d (diff) | |
download | wireshark-d1457cfca8139341c2ee531f27210899dfbd9fd5.tar.gz |
Choose direction properly if launching graph based upon channel of
selected frame.
svn path=/trunk/; revision=46411
Diffstat (limited to 'ui/gtk/rlc_lte_graph.c')
-rw-r--r-- | ui/gtk/rlc_lte_graph.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/gtk/rlc_lte_graph.c b/ui/gtk/rlc_lte_graph.c index 6f139c42ca..de0a81127a 100644 --- a/ui/gtk/rlc_lte_graph.c +++ b/ui/gtk/rlc_lte_graph.c @@ -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]; } |