From 4ad6ed1716dc917a0b80ddfbbefc43c734eeaab6 Mon Sep 17 00:00:00 2001 From: Hanoh Haim Date: Wed, 2 Sep 2015 20:30:33 +0300 Subject: - fix valgrind gtest simulation errors - remove 32bit sim images for faster dev --- src/rx_check_header.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/rx_check_header.h') diff --git a/src/rx_check_header.h b/src/rx_check_header.h index 3ac5dd1f..54af2451 100755 --- a/src/rx_check_header.h +++ b/src/rx_check_header.h @@ -85,6 +85,9 @@ public: int get_dir(void){ return (btGetMaskBit8(m_flags,0,0) ? 1:0); } + void clean(){ + memset(this,0,sizeof(CRx_check_header)); + } /* need to mark if we expect to see both sides of the flow, this is know offline */ void set_both_dir(int both){ -- cgit 1.2.3-korg