diff options
author | Gerald Combs <gerald@wireshark.org> | 2023-10-15 15:34:47 -0700 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2023-10-16 16:34:43 +0000 |
commit | 3489952a810d9c4aafcbcc3c75a23d39f8b1da62 (patch) | |
tree | cee2f1a0176985a896f424d649c9fcc2f6b7e106 /epan/dissectors/packet-vines.c | |
parent | adb4f1d91b24b396218fdee80ea061c0e84caa20 (diff) |
Make `grep proto_register_protocol` more useful
Make sure the short name is on the same line as or the line following
proto_register_protocol. This makes things like assembling the release
notes easier.
Diffstat (limited to 'epan/dissectors/packet-vines.c')
-rw-r--r-- | epan/dissectors/packet-vines.c | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/epan/dissectors/packet-vines.c b/epan/dissectors/packet-vines.c index 9dd28fbdd5..7f0a671c4a 100644 --- a/epan/dissectors/packet-vines.c +++ b/epan/dissectors/packet-vines.c @@ -416,8 +416,7 @@ proto_register_vines_frp(void) &ett_vines_frp_flags }; - proto_vines_frp = proto_register_protocol( - "Banyan Vines Fragmentation Protocol", "Vines FRP", "vines_frp"); + proto_vines_frp = proto_register_protocol("Banyan Vines Fragmentation Protocol", "Vines FRP", "vines_frp"); proto_register_field_array(proto_vines_frp, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); vines_frp_handle = register_dissector("vines_frp", dissect_vines_frp, proto_vines_frp); @@ -486,8 +485,7 @@ proto_register_vines_llc(void) &ett_vines_llc, }; - proto_vines_llc = proto_register_protocol( - "Banyan Vines LLC", "Vines LLC", "vines_llc"); + proto_vines_llc = proto_register_protocol("Banyan Vines LLC", "Vines LLC", "vines_llc"); proto_register_field_array(proto_vines_llc, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); vines_llc_handle = register_dissector("vines_llc", dissect_vines_llc, proto_vines_llc); @@ -741,8 +739,7 @@ proto_register_vines_echo(void) &ett_vines_echo, }; - proto_vines_echo = proto_register_protocol( - "Banyan Vines Echo", "Vines Echo", "vines_echo"); + proto_vines_echo = proto_register_protocol("Banyan Vines Echo", "Vines Echo", "vines_echo"); proto_register_field_array(proto_vines_echo, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); vines_echo_handle = register_dissector("vines_echo", dissect_vines_echo, @@ -1287,8 +1284,7 @@ proto_register_vines_arp(void) &ett_vines_arp, }; - proto_vines_arp = proto_register_protocol( - "Banyan Vines ARP", "Vines ARP", "vines_arp"); + proto_vines_arp = proto_register_protocol("Banyan Vines ARP", "Vines ARP", "vines_arp"); proto_register_field_array(proto_vines_arp, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); vines_arp_handle = register_dissector("vines_arp", dissect_vines_arp, @@ -1881,8 +1877,7 @@ proto_register_vines_rtp(void) &ett_vines_rtp_flags, }; - proto_vines_rtp = proto_register_protocol( - "Banyan Vines RTP", "Vines RTP", "vines_rtp"); + proto_vines_rtp = proto_register_protocol("Banyan Vines RTP", "Vines RTP", "vines_rtp"); proto_register_field_array(proto_vines_rtp, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); vines_rtp_handle = register_dissector("vines_rtp", dissect_vines_rtp, @@ -1990,8 +1985,7 @@ proto_register_vines_icp(void) &ett_vines_icp, }; - proto_vines_icp = proto_register_protocol( - "Banyan Vines ICP", "Vines ICP", "vines_icp"); + proto_vines_icp = proto_register_protocol("Banyan Vines ICP", "Vines ICP", "vines_icp"); /* Placeholder for capture statistics */ proto_vines = proto_register_protocol("VINES", "VINES", "vines"); proto_register_field_array(proto_vines_icp, hf, array_length(hf)); |