summaryrefslogtreecommitdiffstats
path: root/src/rx_check_header.h
diff options
context:
space:
mode:
authorHanoh Haim <hhaim@cisco.com>2015-09-02 20:30:33 +0300
committerHanoh Haim <hhaim@cisco.com>2015-09-02 20:30:33 +0300
commit4ad6ed1716dc917a0b80ddfbbefc43c734eeaab6 (patch)
treed4b215558ff4c3507a7ba2cda45e5afc3574bb66 /src/rx_check_header.h
parent83a53d61c3e7db90637cde90f241f3272ccf3e5a (diff)
- fix valgrind gtest simulation errors
- remove 32bit sim images for faster dev
Diffstat (limited to 'src/rx_check_header.h')
-rwxr-xr-xsrc/rx_check_header.h3
1 files changed, 3 insertions, 0 deletions
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){