summaryrefslogtreecommitdiffstats
path: root/lib/edi/common.hpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2020-10-28 11:24:39 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2020-10-28 11:24:39 +0100
commit844532b93021ecc9f0f5dabbc00f8965f088c54b (patch)
tree48d107cc848f8c63bba9db1e4e7d0cb12c4b4d99 /lib/edi/common.hpp
parent04e1872b5373a4b0bde548e9e42a6c2fc74c7e5d (diff)
downloaddabmod-844532b93021ecc9f0f5dabbc00f8965f088c54b.tar.gz
dabmod-844532b93021ecc9f0f5dabbc00f8965f088c54b.tar.bz2
dabmod-844532b93021ecc9f0f5dabbc00f8965f088c54b.zip
common ea3156f: EDI input: Do not print sequence error on first packet
Diffstat (limited to 'lib/edi/common.hpp')
-rw-r--r--lib/edi/common.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/edi/common.hpp b/lib/edi/common.hpp
index ff5bab1..c8c4bb3 100644
--- a/lib/edi/common.hpp
+++ b/lib/edi/common.hpp
@@ -107,6 +107,7 @@ class TagDispatcher {
bool decode_tagpacket(const std::vector<uint8_t> &payload);
PFT::PFT m_pft;
+ bool m_last_seq_valid = false;
uint16_t m_last_seq = 0;
std::vector<uint8_t> m_input_data;
std::map<std::string, tag_handler> m_handlers;