Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- data.erase( [=]( const data_t & d ) { d.mPktNum < 10; } );
- data.update
- .where( [=]( const data_t & d ) { d.mCat1 == ""; } )
- .set( [=]( data_t & d ) { d.mCat1 = "none"; } );
- data.update
- .where( [=]( const data_t & d ) { d.mCat2 == ""; })
- .set( [=]( data_t & d ) { d.mCat2 = "none"; } );
- data.update
- .where( [=]( const data_t & d ) { d.mPort == 53 && d.mProto == "udp"; } )
- .set( [=]( data_t & d ) { d.mCat2 = "none"; d.mCat1 = "dns"; } );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement