aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGraeme Lunt <graeme.lunt@smhs.co.uk>2007-06-24 05:22:09 +0000
committerGraeme Lunt <graeme.lunt@smhs.co.uk>2007-06-24 05:22:09 +0000
commit124ef666854fdbe1257088dcb175383a087909d9 (patch)
treec448bb52e076267c1a152436eeba279721e6926b
parent2033b06cda9756bcda5651aab4b5658236c48713 (diff)
This patch adds s4406 type to COL_INFO, as for X420.
svn path=/trunk/; revision=22175
-rw-r--r--asn1/x420/x420.cnf4
-rw-r--r--epan/dissectors/packet-x420.c6
2 files changed, 5 insertions, 5 deletions
diff --git a/asn1/x420/x420.cnf b/asn1/x420/x420.cnf
index 71a1962708..fa15a9a079 100644
--- a/asn1/x420/x420.cnf
+++ b/asn1/x420/x420.cnf
@@ -125,7 +125,7 @@ ForwardedContentParameters B "2.6.1.11.17.1.3.26.0.4406.0.4.1" "id-ep-content-
#.FN_BODY IPM
- if((hf_index == hf_x420_ipm) && check_col(actx->pinfo->cinfo, COL_INFO))
+ if(check_col(actx->pinfo->cinfo, COL_INFO))
col_append_fstr(actx->pinfo->cinfo, COL_INFO, " Message");
%(DEFAULT_BODY)s
@@ -133,7 +133,7 @@ ForwardedContentParameters B "2.6.1.11.17.1.3.26.0.4406.0.4.1" "id-ep-content-
#.FN_BODY IPN
- if((hf_index == hf_x420_ipn) && check_col(actx->pinfo->cinfo, COL_INFO))
+ if(check_col(actx->pinfo->cinfo, COL_INFO))
col_append_fstr(actx->pinfo->cinfo, COL_INFO, " Notification");
%(DEFAULT_BODY)s
diff --git a/epan/dissectors/packet-x420.c b/epan/dissectors/packet-x420.c
index 71b4664025..6097ef2865 100644
--- a/epan/dissectors/packet-x420.c
+++ b/epan/dissectors/packet-x420.c
@@ -1,6 +1,6 @@
/* Do not modify this file. */
/* It is created automatically by the ASN.1 to Wireshark dissector compiler */
-/* .\packet-x420.c */
+/* ./packet-x420.c */
/* ../../tools/asn2wrs.py -b -e -p x420 -c x420.cnf -s packet-x420-template x420.asn */
/* Input file: packet-x420-template.c */
@@ -1656,7 +1656,7 @@ int
dissect_x420_IPM(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
#line 127 "x420.cnf"
- if((hf_index == hf_x420_ipm) && check_col(actx->pinfo->cinfo, COL_INFO))
+ if(check_col(actx->pinfo->cinfo, COL_INFO))
col_append_fstr(actx->pinfo->cinfo, COL_INFO, " Message");
offset = dissect_ber_old_sequence(implicit_tag, actx, tree, tvb, offset,
@@ -1982,7 +1982,7 @@ int
dissect_x420_IPN(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
#line 135 "x420.cnf"
- if((hf_index == hf_x420_ipn) && check_col(actx->pinfo->cinfo, COL_INFO))
+ if(check_col(actx->pinfo->cinfo, COL_INFO))
col_append_fstr(actx->pinfo->cinfo, COL_INFO, " Notification");
offset = dissect_ber_old_set(implicit_tag, actx, tree, tvb, offset,