diff options
Diffstat (limited to 'epan/dissectors/packet-pcp.c')
-rw-r--r-- | epan/dissectors/packet-pcp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-pcp.c b/epan/dissectors/packet-pcp.c index 5beaed5a8e..9a364c67f9 100644 --- a/epan/dissectors/packet-pcp.c +++ b/epan/dissectors/packet-pcp.c @@ -2548,11 +2548,11 @@ void proto_register_pcp(void) expert_module_t* expert_pcp; + proto_pcp = proto_register_protocol("Performance Co-Pilot", "PCP", "pcp"); + expert_pcp = expert_register_protocol(proto_pcp); expert_register_field_array(expert_pcp, ei, array_length(ei)); - proto_pcp = proto_register_protocol("Performance Co-Pilot", "PCP", "pcp"); - proto_register_field_array(proto_pcp, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); |