summaryrefslogtreecommitdiff
path: root/epan/dissectors/packet-dcm.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-dcm.c')
-rw-r--r--epan/dissectors/packet-dcm.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/epan/dissectors/packet-dcm.c b/epan/dissectors/packet-dcm.c
index 4c79d825f4..d92a51836a 100644
--- a/epan/dissectors/packet-dcm.c
+++ b/epan/dissectors/packet-dcm.c
@@ -7227,11 +7227,6 @@ proto_register_dcm(void)
{ &hf_dcm_pdv_reassembled_length,
{ "Reassembled PDV length", "dicom.pdv.reassembled.length",
FT_UINT32, BASE_DEC, NULL, 0x00, NULL, HFILL } }
-
-/*
- { &hf_dcm_FIELDABBREV, { "FIELDNAME", "dicom.FIELDABBREV",
- FIELDTYPE, FIELDBASE, FIELDCONVERT, BITMASK, "FIELDDESCR", HFILL } },
- */
};
/* Setup protocol subtree array */
@@ -7288,6 +7283,9 @@ proto_register_dcm(void)
expert_dcm = expert_register_protocol(proto_dcm);
expert_register_field_array(expert_dcm, ei, array_length(ei));
+ /* Allow other dissectors to find this one by name. */
+ new_register_dissector("dicom", dissect_dcm_static, proto_dcm);
+
dcm_module = prefs_register_protocol(proto_dcm, dcm_apply_settings);
range_convert_str(&global_dcm_tcp_range, DICOM_DEFAULT_RANGE, 65535);