aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-cbor.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-cbor.c')
-rw-r--r--epan/dissectors/packet-cbor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-cbor.c b/epan/dissectors/packet-cbor.c
index e62ae57774..92b07c071d 100644
--- a/epan/dissectors/packet-cbor.c
+++ b/epan/dissectors/packet-cbor.c
@@ -853,7 +853,7 @@ proto_register_cbor(void)
expert_cbor = expert_register_protocol(proto_cbor);
expert_register_field_array(expert_cbor, ei, array_length(ei));
- new_register_dissector("cbor", dissect_cbor, proto_cbor);
+ register_dissector("cbor", dissect_cbor, proto_cbor);
}
void