drb/rbm: fix indentation issues.
Change-Id: I88833aa443534b54af7890afa257fd9a0f12ca9e Reviewed-on: https://code.wireshark.org/review/28430 Petri-Dish: Dario Lombardo <lomato@gmail.com> Reviewed-by: Anders Broman <a.broman58@gmail.com>
This commit is contained in:
parent
81d1e2b55b
commit
5404cbbc7f
|
@ -554,7 +554,7 @@ static int dissect_rbm(tvbuff_t* tvb, packet_info* pinfo, proto_tree* tree, void
|
|||
|
||||
void proto_register_rbm(void)
|
||||
{
|
||||
expert_module_t* expert_rbm;
|
||||
expert_module_t* expert_rbm;
|
||||
|
||||
static hf_register_info hf[] = {
|
||||
{ &hf_rbm_version,
|
||||
|
@ -586,10 +586,10 @@ void proto_register_rbm(void)
|
|||
}
|
||||
};
|
||||
|
||||
static ei_register_info ei[] = {
|
||||
{ &ei_rbm_invalid, { "rbm.invalid", PI_UNDECODED, PI_WARN, "Invalid type", EXPFILL }},
|
||||
{ &ei_rbm_version_unsupported, { "rbm.version.unsupported", PI_UNDECODED, PI_WARN, "Unsupported version", EXPFILL }}
|
||||
};
|
||||
static ei_register_info ei[] = {
|
||||
{ &ei_rbm_invalid, { "rbm.invalid", PI_UNDECODED, PI_WARN, "Invalid type", EXPFILL }},
|
||||
{ &ei_rbm_version_unsupported, { "rbm.version.unsupported", PI_UNDECODED, PI_WARN, "Unsupported version", EXPFILL }}
|
||||
};
|
||||
|
||||
/* Setup protocol subtree array */
|
||||
static gint* ett[] = {
|
||||
|
@ -603,8 +603,8 @@ void proto_register_rbm(void)
|
|||
|
||||
proto_rbm = proto_register_protocol("Ruby Marshal Object", "Rbm", "rbm");
|
||||
|
||||
expert_rbm = expert_register_protocol(proto_rbm);
|
||||
expert_register_field_array(expert_rbm, ei, array_length(ei));
|
||||
expert_rbm = expert_register_protocol(proto_rbm);
|
||||
expert_register_field_array(expert_rbm, ei, array_length(ei));
|
||||
|
||||
proto_register_field_array(proto_rbm, hf, array_length(hf));
|
||||
proto_register_subtree_array(ett, array_length(ett));
|
||||
|
|
|
@ -115,10 +115,10 @@ void proto_register_drb(void)
|
|||
|
||||
void proto_reg_handoff_drb(void)
|
||||
{
|
||||
dissector_handle_t drb_handle;
|
||||
dissector_handle_t drb_handle;
|
||||
|
||||
drb_handle = create_dissector_handle(dissect_drb, proto_drb);
|
||||
dissector_add_for_decode_as_with_preference("tcp.port", drb_handle);
|
||||
drb_handle = create_dissector_handle(dissect_drb, proto_drb);
|
||||
dissector_add_for_decode_as_with_preference("tcp.port", drb_handle);
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue