aboutsummaryrefslogtreecommitdiffstats
path: root/packet-h245.c
diff options
context:
space:
mode:
authorsahlberg <sahlberg@f5534014-38df-0310-8fa8-9805f1628bb7>2003-07-08 11:03:12 +0000
committersahlberg <sahlberg@f5534014-38df-0310-8fa8-9805f1628bb7>2003-07-08 11:03:12 +0000
commite42d1ac5cee6aac3bb728748f99172a58473b943 (patch)
tree400c31404b9749a2d7eb155d7c3b0379a6217181 /packet-h245.c
parent5aac9f03ac0acec5d36e35cfc8e3fd5c3e21060c (diff)
fix a small bug in dissect_per_choice where it dissected and displayed a bit for "extensions present" even if that bit was not encoded in the pdu.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@7989 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-h245.c')
-rw-r--r--packet-h245.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/packet-h245.c b/packet-h245.c
index a5ef9df03b..fc4b68e916 100644
--- a/packet-h245.c
+++ b/packet-h245.c
@@ -92,7 +92,7 @@ proper helper routines
* Routines for H.245 packet dissection
* 2003 Ronnie Sahlberg
*
- * $Id: packet-h245.c,v 1.8 2003/07/08 10:35:17 sahlberg Exp $
+ * $Id: packet-h245.c,v 1.9 2003/07/08 11:03:12 sahlberg Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -2248,7 +2248,7 @@ DEBUG_ENTRY("dissect_per_choice");
if(display_internal_per_fields){
etr=choicetree;
}
- dissect_per_boolean(tvb, old_offset, pinfo, etr, hf_h245_extension_bit, NULL, NULL);
+
/* find and call the appropriate callback */
for(i=0;choice[i].name;i++){
if(choice[i].value==(int)choice_index){
@@ -2257,6 +2257,7 @@ DEBUG_ENTRY("dissect_per_choice");
break;
} else {
NOT_DECODED_YET(choice[i].name);
+ break;
}
}
}