aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ber.c
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2013-09-20 14:20:06 +0000
committerAnders Broman <anders.broman@ericsson.com>2013-09-20 14:20:06 +0000
commitf3e76b0953420e40a2fc70a73d42b8082c139efe (patch)
tree7d634a1dd027b9f62c9f26dc3388778b1b122dcc /epan/dissectors/packet-ber.c
parent95c5f81c83f903b23998e482dafb1e8ed8a09a43 (diff)
Indicate Sequence of 0 length.
svn path=/trunk/; revision=52155
Diffstat (limited to 'epan/dissectors/packet-ber.c')
-rw-r--r--epan/dissectors/packet-ber.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/epan/dissectors/packet-ber.c b/epan/dissectors/packet-ber.c
index a0006965b4..66a810cc5c 100644
--- a/epan/dissectors/packet-ber.c
+++ b/epan/dissectors/packet-ber.c
@@ -2004,6 +2004,9 @@ printf("SEQUENCE dissect_ber_sequence(%s) entered\n", name);
}
}
}
+ if(offset == end_offset){
+ proto_item_append_text(item, " [0 length]");
+ }
/* loop over all entries until we reach the end of the sequence */
while (offset < end_offset) {
gint8 ber_class;