diff options
author | 2015-09-03 05:16:12 +0300 | |
---|---|---|
committer | 2015-09-03 05:16:12 +0300 | |
commit | 1912c95b5480cd601581a00645bb2e75e9c6e7a3 (patch) | |
tree | 3ddf98b540677f296f9da7daf9c1e14d0970cc05 /src/rx_check_header.h | |
parent | 6669a4dd3176e21ef8e99fc4a90ecd7a42566be9 (diff) | |
parent | 463cb7c212e927a732fb5b702a288a06550c5eb8 (diff) |
Merge branch 'master' into rpc
Diffstat (limited to 'src/rx_check_header.h')
-rwxr-xr-x | src/rx_check_header.h | 3 |
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){ |