aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2014-08-29 07:54:59 +0200
committerAnders Broman <a.broman58@gmail.com>2014-08-30 09:51:36 +0000
commit021351f422654bb5d42256ec4adefc4c5dcfe78e (patch)
tree64517ef9feee6acf548d846d90886f7d016e1e74 /doc
parent0622e3439e79927ab2792923933ea329720f3e24 (diff)
PROTOABBREV: minor fix
Fix typo PROTO_ABBREV -> PROTOABBREV Uncomment FIELDCONVERT Change-Id: I7b64c09ecf0c22a38042156d958e1c6c850c839a Reviewed-on: https://code.wireshark.org/review/3914 Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/packet-PROTOABBREV.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/packet-PROTOABBREV.c b/doc/packet-PROTOABBREV.c
index 241bc8d766..c3b926f0f2 100644
--- a/doc/packet-PROTOABBREV.c
+++ b/doc/packet-PROTOABBREV.c
@@ -215,7 +215,7 @@ proto_register_PROTOABBREV(void)
static hf_register_info hf[] = {
{ &hf_PROTOABBREV_FIELDABBREV,
{ "FIELDNAME", "PROTOABBREV.FIELDABBREV",
- FT_FIELDTYPE, FIELDDISPLAY,/*FIELDCONVERT*/, BITMASK,
+ FT_FIELDTYPE, FIELDDISPLAY, FIELDCONVERT, BITMASK,
"FIELDDESCR", HFILL }
}
};
@@ -330,6 +330,7 @@ proto_reg_handoff_PROTOABBREV(void)
}
#if 0
+
/* Simpler form of proto_reg_handoff_PROTOABBREV which can be used if there are
* no prefs-dependent registration function calls. */
void
@@ -343,7 +344,7 @@ proto_reg_handoff_PROTOABBREV(void)
*/
PROTOABBREV_handle = new_create_dissector_handle(dissect_PROTOABBREV,
proto_PROTOABBREV);
- dissector_add_uint("tcp.port", PROTO_ABBREV_TCP_PORT, PROTOABBREV_handle);
+ dissector_add_uint("tcp.port", PROTOABBREV_TCP_PORT, PROTOABBREV_handle);
}
#endif