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-iwarp-mpa.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-iwarp-mpa.c')
-rw-r--r-- | epan/dissectors/packet-iwarp-mpa.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/epan/dissectors/packet-iwarp-mpa.c b/epan/dissectors/packet-iwarp-mpa.c index 875ff50340..7434cd0313 100644 --- a/epan/dissectors/packet-iwarp-mpa.c +++ b/epan/dissectors/packet-iwarp-mpa.c @@ -1066,9 +1066,7 @@ void proto_register_mpa(void) expert_module_t* expert_iwarp_mpa; /* register the protocol name and description */ - proto_iwarp_mpa = proto_register_protocol( - "iWARP Marker Protocol data unit Aligned framing", - "IWARP_MPA", "iwarp_mpa"); + proto_iwarp_mpa = proto_register_protocol("iWARP Marker Protocol data unit Aligned framing", "IWARP_MPA", "iwarp_mpa"); /* required function calls to register the header fields and subtrees */ proto_register_field_array(proto_iwarp_mpa, hf, array_length(hf)); |