aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-h283.c
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2011-10-21 02:10:19 +0000
committerBill Meier <wmeier@newsguy.com>2011-10-21 02:10:19 +0000
commit794757ae8fbee85db2b24bc46b7e9cc492de01df (patch)
treea955184a13d8444bdec0de9200f261c46cfa2734 /epan/dissectors/packet-h283.c
parent449d732485da5a19b8a0d3ddef49ed30498712ff (diff)
For proto_tree_add_item(..., proto_xxx, ...)use ENC_NA as the encoding arg.
Also: remove trailing whitespace for a number of files. svn path=/trunk/; revision=39503
Diffstat (limited to 'epan/dissectors/packet-h283.c')
-rw-r--r--epan/dissectors/packet-h283.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/epan/dissectors/packet-h283.c b/epan/dissectors/packet-h283.c
index c9b0ad1908..9fb10b35ad 100644
--- a/epan/dissectors/packet-h283.c
+++ b/epan/dissectors/packet-h283.c
@@ -111,9 +111,9 @@ static gint ett_h283_NonStandardMessage = -1;
#line 48 "../../asn1/h283/packet-h283-template.c"
/* Subdissectors */
-static dissector_handle_t rdc_pdu_handle;
-static dissector_handle_t rdc_device_list_handle;
-static dissector_handle_t data_handle;
+static dissector_handle_t rdc_pdu_handle;
+static dissector_handle_t rdc_device_list_handle;
+static dissector_handle_t data_handle;
static gboolean info_is_set;
@@ -578,7 +578,7 @@ dissect_h283_udp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
info_is_set = FALSE;
- ti = proto_tree_add_item(tree, proto_h283, tvb, 0, -1, FALSE);
+ ti = proto_tree_add_item(tree, proto_h283, tvb, 0, -1, ENC_NA);
h283_tree = proto_item_add_subtree(ti, ett_h283);
return dissect_LCTPDU_PDU(tvb, pinfo, h283_tree);
@@ -762,12 +762,12 @@ void proto_register_h283(void) {
}
/*--- proto_reg_handoff_h283 -------------------------------------------*/
-void proto_reg_handoff_h283(void)
+void proto_reg_handoff_h283(void)
{
- dissector_handle_t h283_udp_handle;
+ dissector_handle_t h283_udp_handle;
h283_udp_handle = find_dissector(PFNAME);
- dissector_add_handle("udp.port", h283_udp_handle);
+ dissector_add_handle("udp.port", h283_udp_handle);
rdc_pdu_handle = find_dissector("rdc");
rdc_device_list_handle = find_dissector("rdc.device_list");