diff options
author | Bill Meier <wmeier@newsguy.com> | 2011-10-21 02:10:19 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2011-10-21 02:10:19 +0000 |
commit | 794757ae8fbee85db2b24bc46b7e9cc492de01df (patch) | |
tree | a955184a13d8444bdec0de9200f261c46cfa2734 /epan/dissectors/packet-nas_eps.c | |
parent | 449d732485da5a19b8a0d3ddef49ed30498712ff (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-nas_eps.c')
-rw-r--r-- | epan/dissectors/packet-nas_eps.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/epan/dissectors/packet-nas_eps.c b/epan/dissectors/packet-nas_eps.c index 0201379b82..f91b189689 100644 --- a/epan/dissectors/packet-nas_eps.c +++ b/epan/dissectors/packet-nas_eps.c @@ -4514,7 +4514,7 @@ dissect_nas_eps(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) /* make entry in the Protocol column on summary display */ col_append_str(pinfo->cinfo, COL_PROTOCOL, "/NAS-EPS"); - item = proto_tree_add_item(tree, proto_nas_eps, tvb, 0, -1, ENC_BIG_ENDIAN); + item = proto_tree_add_item(tree, proto_nas_eps, tvb, 0, -1, ENC_NA); nas_eps_tree = proto_item_add_subtree(item, ett_nas_eps); /* Security header type Security header type 9.3.1 M V 1/2 */ @@ -4554,10 +4554,10 @@ dissect_nas_eps(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) /* Integrity protected and ciphered = 2, Integrity protected and ciphered with new EPS security context = 4 */ pd = tvb_get_guint8(tvb,offset)&0x0f; #if 0 - /* Does not work see Bug https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6348 + /* Does not work see Bug https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6348 * 9.2 Protocol discriminator * : - * The protocol discriminator in the header (see 3GPP TS 24.007 [12]) of a + * The protocol discriminator in the header (see 3GPP TS 24.007 [12]) of a * security protected NAS message is encoded as "EPS mobility management messages". * XXX Should we check for PD == 7? */ @@ -4628,7 +4628,7 @@ dissect_nas_eps_plain(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) /* make entry in the Protocol column on summary display */ col_append_str(pinfo->cinfo, COL_PROTOCOL, "/NAS-EPS"); - item = proto_tree_add_item(tree, proto_nas_eps, tvb, 0, -1, ENC_BIG_ENDIAN); + item = proto_tree_add_item(tree, proto_nas_eps, tvb, 0, -1, ENC_NA); nas_eps_tree = proto_item_add_subtree(item, ett_nas_eps); pd = tvb_get_guint8(tvb,offset)&0x0f; |