aboutsummaryrefslogtreecommitdiffstats
path: root/asn1/h248/h248.cnf
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2014-02-26 14:29:17 -0500
committerBill Meier <wmeier@newsguy.com>2014-02-26 19:38:21 +0000
commit1dff4e309d036e23c316f2cf9a6d05d5a4449ff2 (patch)
treea7ff0816c598def87e246a2ebbd2d80fa47365fc /asn1/h248/h248.cnf
parentb4850149dd877375c1d8da3a2d20bddca1d91780 (diff)
Remove trailing whitespace from asn1 .cnf & template.[hc] files. Regenerate dissectors.
Change-Id: I0e779b2ac2f608356649c5bbfca438141070dea4 Reviewed-on: https://code.wireshark.org/review/412 Reviewed-by: Bill Meier <wmeier@newsguy.com> Tested-by: Bill Meier <wmeier@newsguy.com>
Diffstat (limited to 'asn1/h248/h248.cnf')
-rw-r--r--asn1/h248/h248.cnf28
1 files changed, 14 insertions, 14 deletions
diff --git a/asn1/h248/h248.cnf b/asn1/h248/h248.cnf
index 7a634f239d..ee1afdb022 100644
--- a/asn1/h248/h248.cnf
+++ b/asn1/h248/h248.cnf
@@ -97,12 +97,12 @@ AuditReplyV1/auditResult audit_result
#.FN_FTR Message
col_add_str(actx->pinfo->cinfo, COL_INFO, gcp_msg_to_str(curr_info.msg,keep_persistent_data));
-
+
if (keep_persistent_data)
gcp_analyze_msg(h248_tree, actx->pinfo, h248_tvb, curr_info.msg, &h248_arrel, &ei_h248_errored_command);
#.END
-#.FN_BODY Message/version VAL_PTR = &h248_version
+#.FN_BODY Message/version VAL_PTR = &h248_version
%(DEFAULT_BODY)s
#.END
@@ -119,7 +119,7 @@ AuditReplyV1/auditResult audit_result
curr_info.trx = gcp_trx(curr_info.msg, trx_id, GCP_TRX_PENDING, keep_persistent_data);
error_code = 0;
-#.FN_BODY TransactionReply/transactionId
+#.FN_BODY TransactionReply/transactionId
guint32 trx_id = 0;
offset = dissect_h248_trx_id(implicit_tag, actx->pinfo, tree, tvb, offset, &trx_id);
curr_info.trx = gcp_trx(curr_info.msg, trx_id, GCP_TRX_REPLY, keep_persistent_data);
@@ -299,13 +299,13 @@ AuditReplyV1/auditResult audit_result
#.FN_BODY ErrorDescriptor/errorCode
offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index, &error_code);
expert_add_info(actx->pinfo, actx->created_item, &ei_h248_errored_command);
-
+
if (curr_info.cmd) {
gcp_cmd_set_error(curr_info.cmd,error_code);
} else if (curr_info.trx) {
gcp_trx_set_error(curr_info.trx,error_code);
}
-
+
return offset;
#.END
@@ -325,13 +325,13 @@ AuditReplyV1/auditResult audit_result
wild_term = tvb_get_guint8(new_tvb,0) & 0x80 ? GCP_WILDCARD_CHOOSE : GCP_WILDCARD_ALL;
/* limitation: assume only one wildcard is used */
wild_card = tvb_get_guint8(new_tvb,0);
-
+
#.END
#.FN_BODY TerminationID/id
tvbuff_t* new_tvb;
offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, offset, hf_index, &new_tvb);
-
+
if (new_tvb) {
curr_info.term->len = tvb_length(new_tvb);
curr_info.term->type = 0; /* unknown */
@@ -345,7 +345,7 @@ AuditReplyV1/auditResult audit_result
if (h248_term_handle) {
call_dissector_with_data(h248_term_handle, new_tvb, actx->pinfo, tree, &wild_card);
- wild_card = 0xFF;
+ wild_card = 0xFF;
}
} else {
curr_info.term->len = 0;
@@ -356,14 +356,14 @@ AuditReplyV1/auditResult audit_result
#.FN_BODY SCreasonValue
/* H248 v1 support */
- if ( h248_version > 1 ) {
+ if ( h248_version > 1 ) {
/* Not V1, so call "standard" function */
-%(DEFAULT_BODY)s
+%(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
@@ -391,19 +391,19 @@ AuditReplyV1/auditResult audit_result
for( i=0;i<len;i++) {
if(!isascii(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_tree_add_text(tree, tvb, offset, len,"%s: 0x%s",
(proto_registrar_get_nth(hf_index))->name,
tvb_bytes_to_ep_str(tvb, 0, len));
return len;
};
};
/* if here, then string is ascii */
- proto_tree_add_text(tree, tvb, offset, len,"%s: %s",
+ 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