summaryrefslogtreecommitdiff
path: root/asn1/h248/h248.cnf
diff options
context:
space:
mode:
Diffstat (limited to 'asn1/h248/h248.cnf')
-rw-r--r--asn1/h248/h248.cnf43
1 files changed, 0 insertions, 43 deletions
diff --git a/asn1/h248/h248.cnf b/asn1/h248/h248.cnf
index b69de9f854..f2bef14fa5 100644
--- a/asn1/h248/h248.cnf
+++ b/asn1/h248/h248.cnf
@@ -367,18 +367,6 @@ AuditReplyV1/auditResult audit_result
}
#.END
-#.FN_BODY SCreasonValue
-/* H248 v1 support */
- if ( h248_version > 1 ) {
- /* Not V1, so call "standard" function */
-%(DEFAULT_BODY)s
-} else {
- /* V1 so Value == octet string */
- offset = dissect_h248_ValueV1( implicit_tag, tvb, offset, actx, tree, hf_index);
-};
-
-#.END
-
#.FN_BODY SCreasonValueOctetStr VAL_PTR = &parameter_tvb
tvbuff_t *parameter_tvb;
%(DEFAULT_BODY)s
@@ -389,37 +377,6 @@ AuditReplyV1/auditResult audit_result
dissect_h248_ServiceChangeReasonStr(FALSE, parameter_tvb, 0, actx, tree, hf_h248_serviceChangeReasonStr);
#.END
-#.FN_HDR ValueV1
- guint8 i;
- guint32 len;
-#.END
-
-#.FN_BODY ValueV1
-/* check tvb to verify all values ascii or not. If so, output string, else hex */
- len=tvb_reported_length_remaining(tvb, offset);
- if ( curr_info.par && curr_info.par->dissector) {
- curr_info.par->dissector(tree, /*next_*/tvb, actx->pinfo, *(curr_info.par->hfid), &curr_info, curr_info.par->data);
- } else {
- /* if no registered dissector create output */
- for( i=0;i<len;i++) {
- if(!g_ascii_isprint(tvb_get_guint8(tvb, offset+i)) || tvb_get_guint8(tvb, offset+i) == 0) {
- /* not ascii or NULL character so do string as hex string */
- proto_tree_add_text(tree, tvb, offset, len,"%s: 0x%s",
- (proto_registrar_get_nth(hf_index))->name,
- tvb_bytes_to_str(wmem_packet_scope(), tvb, 0, len));
- return len;
- };
- };
- /* if here, then string is ascii */
- proto_tree_add_text(tree, tvb, offset, len,"%s: %s",
- (proto_registrar_get_nth(hf_index))->name,
- tvb_format_text(tvb, 0, len));
- }
- offset = len;
-
-#.END
-
-
#.FN_BODY EventParameter
/* H248 v1 support */
if (h248_version > 1) {