diff options
author | Michael Mann <mmann78@netscape.net> | 2013-06-12 03:33:44 +0000 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2013-06-12 03:33:44 +0000 |
commit | 93be0fb393fb97016a188d0cb51dc4cba1cfec1d (patch) | |
tree | 6213793581988388de5f6540fe4cb0e4bd800bad /asn1/q932-ros | |
parent | 66a7193699152461181bb742163fd386019cb986 (diff) | |
download | wireshark-93be0fb393fb97016a188d0cb51dc4cba1cfec1d.tar.gz |
Batch of filterable expert infos with some minor cleanup I noticed while doing the filter conversions.
svn path=/trunk/; revision=49893
Diffstat (limited to 'asn1/q932-ros')
-rw-r--r-- | asn1/q932-ros/packet-q932-ros-template.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/asn1/q932-ros/packet-q932-ros-template.c b/asn1/q932-ros/packet-q932-ros-template.c index 4174f97947..af6705cb29 100644 --- a/asn1/q932-ros/packet-q932-ros-template.c +++ b/asn1/q932-ros/packet-q932-ros-template.c @@ -43,6 +43,8 @@ static int proto_q932_ros = -1; /* Initialize the subtree pointers */ #include "packet-q932-ros-ett.c" +static expert_field ei_ros_undecoded = EI_INIT; + /* Preferences */ /* Subdissectors */ @@ -78,6 +80,12 @@ void proto_register_q932_ros(void) { #include "packet-q932-ros-ettarr.c" }; + static ei_register_info ei[] = { + { &ei_ros_undecoded, { "q932.ros.undecoded", PI_UNDECODED, PI_WARN, "Undecoded", EXPFILL }}, + }; + + expert_module_t* expert_q932_ros; + /* Register protocol and dissector */ proto_q932_ros = proto_register_protocol(PNAME, PSNAME, PFNAME); proto_set_cant_toggle(proto_q932_ros); @@ -85,6 +93,8 @@ void proto_register_q932_ros(void) { /* Register fields and subtrees */ proto_register_field_array(proto_q932_ros, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); + expert_q932_ros = expert_register_protocol(proto_q932_ros); + expert_register_field_array(expert_q932_ros, ei, array_length(ei)); new_register_dissector(PFNAME, dissect_q932_ros, proto_q932_ros); } |