aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ubertooth.c
diff options
context:
space:
mode:
authorMichael Mann <mmann78@netscape.net>2014-01-09 21:42:36 +0000
committerMichael Mann <mmann78@netscape.net>2014-01-09 21:42:36 +0000
commitf42fa7abf12b4f6a374901ec117081005e2ec0cd (patch)
tree189c7a0c853bfd32bd8c1b0332a4ddb7f1319102 /epan/dissectors/packet-ubertooth.c
parent944db5d44782300dc8e6d4d08f07858953eff593 (diff)
USB: Add DFU dissector. Bug 9610 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9610)
From Michal Labedzki svn path=/trunk/; revision=54683
Diffstat (limited to 'epan/dissectors/packet-ubertooth.c')
-rw-r--r--epan/dissectors/packet-ubertooth.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/epan/dissectors/packet-ubertooth.c b/epan/dissectors/packet-ubertooth.c
index 1d1d732e09..c142d4dfcd 100644
--- a/epan/dissectors/packet-ubertooth.c
+++ b/epan/dissectors/packet-ubertooth.c
@@ -684,6 +684,8 @@ dissect_ubertooth(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *dat
wmem_tree_insert32_array(command_info, key, command_data);
}
+ pinfo->p2p_dir = p2p_dir_save;
+
return offset;
}
@@ -703,6 +705,8 @@ dissect_ubertooth(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *dat
proto_tree_add_expert(main_tree, pinfo, &ei_unknown_data, tvb, offset, tvb_length_remaining(tvb, offset));
+ pinfo->p2p_dir = p2p_dir_save;
+
return tvb_length(tvb);
}