aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-btavdtp.c
diff options
context:
space:
mode:
authorAndersBroman <anders.broman@ericsson.com>2016-09-22 15:25:07 +0200
committerAnders Broman <a.broman58@gmail.com>2016-09-22 14:13:12 +0000
commit0b3d6793681fb351cd6e726d3323839cb0d86e64 (patch)
treefd5bed184944a8c2471d4b3c1504b9201102fed4 /epan/dissectors/packet-btavdtp.c
parentd29b369bdcdf5bbc3f22b46e3ba0734c630dd3ad (diff)
Don't call proto_register_field_array() or expert_register_protocol() with
proto = -1 Change-Id: I60f899ad748b5d3e17f237552af7d2dbc8f27bd2 Reviewed-on: https://code.wireshark.org/review/17864 Petri-Dish: Anders Broman <a.broman58@gmail.com> Reviewed-by: Michael Mann <mmann78@netscape.net> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-btavdtp.c')
-rw-r--r--epan/dissectors/packet-btavdtp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-btavdtp.c b/epan/dissectors/packet-btavdtp.c
index 68b5324adf..6bca31c339 100644
--- a/epan/dissectors/packet-btavdtp.c
+++ b/epan/dissectors/packet-btavdtp.c
@@ -2930,7 +2930,7 @@ proto_register_aptx(void)
};
proto_aptx = proto_register_protocol("APT-X Codec", "APT-X", "aptx");
- proto_register_field_array(proto_bta2dp, hf, array_length(hf));
+ proto_register_field_array(proto_aptx, hf, array_length(hf));
proto_register_subtree_array(ett, array_length(ett));
aptx_handle = register_dissector("aptx", dissect_aptx, proto_aptx);
@@ -3388,7 +3388,7 @@ proto_register_btvdp(void)
proto_btvdp = proto_register_protocol("Bluetooth VDP Profile", "BT VDP", "btvdp");
btvdp_handle = register_dissector("btvdp", dissect_btvdp, proto_btvdp);
- proto_register_field_array(proto_bta2dp, hf, array_length(hf));
+ proto_register_field_array(proto_btvdp, hf, array_length(hf));
proto_register_subtree_array(ett, array_length(ett));
expert_btavdtp = expert_register_protocol(proto_btvdp);
expert_register_field_array(expert_btavdtp, ei, array_length(ei));