aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-bssgp.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2012-11-21 18:13:51 +0000
committerGuy Harris <guy@alum.mit.edu>2012-11-21 18:13:51 +0000
commit6c6b37cada66b260d66325e7900ab5b2e03951b2 (patch)
treea87a937541d9fa40575ff7d219aeb6a41c00fd66 /epan/dissectors/packet-bssgp.c
parentca74add1c995a61debebdbba0ba913f429764aa2 (diff)
The previous change means the "len" argument is now being used.
svn path=/trunk/; revision=46113
Diffstat (limited to 'epan/dissectors/packet-bssgp.c')
-rw-r--r--epan/dissectors/packet-bssgp.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/epan/dissectors/packet-bssgp.c b/epan/dissectors/packet-bssgp.c
index f89f1f56ee..988d903066 100644
--- a/epan/dissectors/packet-bssgp.c
+++ b/epan/dissectors/packet-bssgp.c
@@ -885,15 +885,13 @@ de_bssgp_flush_action(tvbuff_t *tvb, proto_tree *tree, packet_info *pinfo _U_, g
*/
static guint16
-de_bssgp_llc_pdu(tvbuff_t *tvb, proto_tree *tree, packet_info *pinfo _U_, guint32 offset, guint len _U_, gchar *add_string _U_, int string_len _U_)
+de_bssgp_llc_pdu(tvbuff_t *tvb, proto_tree *tree, packet_info *pinfo _U_, guint32 offset, guint len, gchar *add_string _U_, int string_len _U_)
{
tvbuff_t *next_tvb=NULL;
guint32 curr_offset;
curr_offset = offset;
-
-
if(len > 0){
next_tvb = tvb_new_subset_remaining(tvb, curr_offset);
proto_tree_add_text(tree, tvb, curr_offset, len, "LLC Data");