diff options
author | Jaap Keuter <jaap.keuter@xs4all.nl> | 2008-04-14 06:43:42 +0000 |
---|---|---|
committer | Jaap Keuter <jaap.keuter@xs4all.nl> | 2008-04-14 06:43:42 +0000 |
commit | e3463e8d53ff33fc636ccc21b07cb607176a30db (patch) | |
tree | 04790fd5f1b9c617a113d92427b05e269d698391 /epan/dissectors/packet-diameter_3gpp.c | |
parent | 56a638339c47002746353672bd11454bb4a1e89b (diff) |
From Jim Young:
Within the packet-diameter_3gpp.c module, the call to proto_register_protocol()
comes AFTER the proto_register_field_array() call.
While the delayed call to proto_register_protocol() does not appear to impair the use
of the display filters, it DOES effect the generation of the wireshark-filter man page.
svn path=/trunk/; revision=25014
Diffstat (limited to 'epan/dissectors/packet-diameter_3gpp.c')
-rw-r--r-- | epan/dissectors/packet-diameter_3gpp.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/epan/dissectors/packet-diameter_3gpp.c b/epan/dissectors/packet-diameter_3gpp.c index e40e39bfb6..e15bef578f 100644 --- a/epan/dissectors/packet-diameter_3gpp.c +++ b/epan/dissectors/packet-diameter_3gpp.c @@ -165,8 +165,7 @@ proto_register_diameter_3gpp(void) }; /* Required function calls to register the header fields and subtrees used */ + proto_diameter_3gpp = proto_register_protocol("Diameter 3GPP","Diameter3GPP", "diameter3gpp"); proto_register_field_array(proto_diameter_3gpp, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); - - proto_diameter_3gpp = proto_register_protocol("Diameter 3GPP","Diameter3GPP", "diameter3gpp"); } |