aboutsummaryrefslogtreecommitdiffstats
path: root/etisnoop.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2015-08-15 00:00:43 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2015-08-15 00:00:43 +0200
commit877dc6f31a74abfea445878b68a2bb719dfb81db (patch)
tree6a83b16c39b6cdbbb0d41b43858abd625d59b282 /etisnoop.cpp
parent658f99e5ef7f1d30b3a92b9c44da9e18e58fff82 (diff)
downloadetisnoop-877dc6f31a74abfea445878b68a2bb719dfb81db.tar.gz
etisnoop-877dc6f31a74abfea445878b68a2bb719dfb81db.tar.bz2
etisnoop-877dc6f31a74abfea445878b68a2bb719dfb81db.zip
Fix FIG0/18 cluster ID parsing
Diffstat (limited to 'etisnoop.cpp')
-rw-r--r--etisnoop.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/etisnoop.cpp b/etisnoop.cpp
index 8e4fe85..8f95455 100644
--- a/etisnoop.cpp
+++ b/etisnoop.cpp
@@ -2100,7 +2100,7 @@ void decodeFIG(FIGalyser &figs,
for(j = 0; (j < Number_clusters) && (i < figlen); j++) {
// iterate over Cluster Id
- sprintf(desc, "Cluster Id=0x%X", f[j]);
+ sprintf(desc, "Cluster Id=0x%X", f[i]);
printbuf(desc, indent+2, NULL, 0);
i++;
}