aboutsummaryrefslogtreecommitdiffstats
path: root/asn1/rtse
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2010-08-24 11:36:10 +0000
committerStig Bjørlykke <stig@bjorlykke.org>2010-08-24 11:36:10 +0000
commitf3f59dbf958687415d13c1861909e40837171cb1 (patch)
tree02e80cffef2d8b65dad9cb8b0a4aee1a79b5dd69 /asn1/rtse
parent02ffdfea3455ef97905373224f030ef34b07282b (diff)
Indicate abort and abort-reason in info column.
svn path=/trunk/; revision=33908
Diffstat (limited to 'asn1/rtse')
-rw-r--r--asn1/rtse/rtse.cnf17
1 files changed, 17 insertions, 0 deletions
diff --git a/asn1/rtse/rtse.cnf b/asn1/rtse/rtse.cnf
index 085bcd3f03..d6a3577bcd 100644
--- a/asn1/rtse/rtse.cnf
+++ b/asn1/rtse/rtse.cnf
@@ -151,4 +151,21 @@ RTABapdu
if(reason != -1)
col_append_fstr(actx->pinfo->cinfo, COL_INFO, " (%%s)", val_to_str(reason, rtse_RefuseReason_vals, "reason(%%d)"));
+
+#.FN_BODY RTABapdu
+ col_append_fstr(actx->pinfo->cinfo, COL_INFO, "Abort");
+
+ %(DEFAULT_BODY)s
+
+#.FN_PARS AbortReason
+ VAL_PTR=&reason
+
+#.FN_BODY AbortReason
+ int reason = -1;
+
+ %(DEFAULT_BODY)s
+
+ if(reason != -1)
+ col_append_fstr(actx->pinfo->cinfo, COL_INFO, " (%%s)", val_to_str(reason, rtse_AbortReason_vals, "reason(%%d)"));
+
#.END