We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a9472ba commit 7cc005dCopy full SHA for 7cc005d
backend/binsrc/regex/regexfilter.cpp
@@ -179,6 +179,8 @@ class RegexNfQueue : public NfQueue::ThreadNfQueue<RegexNfQueue> {
179
static void on_data_recv(Stream& stream, RegexNfQueue* nfq, string data) {
180
nfq->match_ctx.matching_has_been_called = true;
181
nfq->match_ctx.already_closed = false;
182
+ nfq->match_ctx.pkt->data = data.data();
183
+ nfq->match_ctx.pkt->data_size = data.size();
184
bool result = nfq->filter_action(nfq->match_ctx.pkt);
185
if (!result){
186
nfq->sctx.clean_stream_by_id(nfq->match_ctx.pkt->sid);
@@ -226,4 +228,4 @@ class RegexNfQueue : public NfQueue::ThreadNfQueue<RegexNfQueue> {
226
228
};
227
229
230
}}
-#endif // REGEX_FILTER_CLASS_CPP
231
+#endif // REGEX_FILTER_CLASS_CPP
0 commit comments