summaryrefslogtreecommitdiff
path: root/asn1/x2ap
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 /asn1/x2ap
parent449d732485da5a19b8a0d3ddef49ed30498712ff (diff)
downloadwireshark-794757ae8fbee85db2b24bc46b7e9cc492de01df.tar.gz
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 'asn1/x2ap')
-rw-r--r--asn1/x2ap/packet-x2ap-template.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/asn1/x2ap/packet-x2ap-template.c b/asn1/x2ap/packet-x2ap-template.c
index 730555f72e..877fe934f0 100644
--- a/asn1/x2ap/packet-x2ap-template.c
+++ b/asn1/x2ap/packet-x2ap-template.c
@@ -24,7 +24,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
- * Ref:
+ * Ref:
* 3GPP TS 36.423 V9.2.0 (2010-03)
*/
@@ -125,9 +125,9 @@ dissect_x2ap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
col_set_str(pinfo->cinfo, COL_PROTOCOL, "X2AP");
/* create the x2ap protocol tree */
- x2ap_item = proto_tree_add_item(tree, proto_x2ap, tvb, 0, -1, FALSE);
+ x2ap_item = proto_tree_add_item(tree, proto_x2ap, tvb, 0, -1, ENC_NA);
x2ap_tree = proto_item_add_subtree(x2ap_item, ett_x2ap);
-
+
dissect_X2AP_PDU_PDU(tvb, pinfo, x2ap_tree);
}
@@ -163,7 +163,7 @@ void proto_register_x2ap(void) {
/* Register fields and subtrees */
proto_register_field_array(proto_x2ap, hf, array_length(hf));
proto_register_subtree_array(ett, array_length(ett));
-
+
/* Register dissector */
register_dissector("x2ap", dissect_x2ap, proto_x2ap);