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-brp.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-brp.c')
-rw-r--r-- | epan/dissectors/packet-brp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-brp.c b/epan/dissectors/packet-brp.c index 0a33aa313f..bbbd6d6c2b 100644 --- a/epan/dissectors/packet-brp.c +++ b/epan/dissectors/packet-brp.c @@ -155,7 +155,7 @@ dissect_brp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) if (tree) { /* we are being asked for details */ /* Here we add our tree/subtree so we can have a collapsible branch. */ - brp_item = proto_tree_add_item( tree, proto_brp, tvb, 0, -1, ENC_BIG_ENDIAN ); + brp_item = proto_tree_add_item( tree, proto_brp, tvb, 0, -1, ENC_NA ); brp_tree = proto_item_add_subtree( brp_item, ett_brp); /* We use tvb_get_guint8 to get our type value out. */ @@ -394,7 +394,7 @@ void proto_register_brp (void) proto_brp = proto_register_protocol ("BRP Protocol", "BRP", "brp"); proto_register_field_array (proto_brp, hf, array_length (hf)); proto_register_subtree_array (ett, array_length (ett)); - + /* Register preferences module */ brp_module = prefs_register_protocol(proto_brp, proto_reg_handoff_brp); |