diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2016-11-13 13:10:30 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2016-11-13 13:10:30 +0100 |
commit | cba531bbad8481db47318ac8146c54252100f2ad (patch) | |
tree | 3352e929cfee28b7ebb6003eff9b32d932a9301c /src/fig0_3.cpp | |
parent | a1415d55cd2db58ff5469cabe64efb9ff29dcec0 (diff) | |
download | etisnoop-cba531bbad8481db47318ac8146c54252100f2ad.tar.gz etisnoop-cba531bbad8481db47318ac8146c54252100f2ad.tar.bz2 etisnoop-cba531bbad8481db47318ac8146c54252100f2ad.zip |
Add first filter to display only some FIGs
TODO: many FIGs print without using printbuf, fir which the filter doesn't
work yet.
Diffstat (limited to 'src/fig0_3.cpp')
-rw-r--r-- | src/fig0_3.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fig0_3.cpp b/src/fig0_3.cpp index adc502f..349b9e9 100644 --- a/src/fig0_3.cpp +++ b/src/fig0_3.cpp @@ -48,7 +48,7 @@ bool fig0_3_is_complete(int components_id) // FIG 0/3 Service component in packet mode with or without Conditional Access // ETSI EN 300 401 6.3.2 -bool fig0_3(fig0_common_t& fig0, int indent) +bool fig0_3(fig0_common_t& fig0, const display_settings_t &disp) { uint16_t SCId, Packet_address, CAOrg; uint8_t i = 1, Rfa, DSCTy, SubChId, CAMode, SharedFlag; @@ -102,7 +102,7 @@ bool fig0_3(fig0_common_t& fig0, int indent) } i += 2; } - printbuf(desc, indent+1, NULL, 0); + printbuf(desc, disp+1, NULL, 0); } return complete; |