summaryrefslogtreecommitdiffstats
path: root/src/rx_check_header.h
diff options
context:
space:
mode:
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){