]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
sip: fix inspection direction
authorShivani Bhardwaj <shivani@oisf.net>
Tue, 27 May 2025 07:32:03 +0000 (13:02 +0530)
committerVictor Julien <victor@inliniac.net>
Sat, 7 Jun 2025 08:36:44 +0000 (10:36 +0200)
rust/src/sip/sip.rs

index 9241b432e27804d587829583fe96bfe78bb6627e..7c7c68bd66acdcc2047acf816399723c149b0093 100755 (executable)
@@ -281,7 +281,7 @@ impl SIPState {
                         tx.response_line = resp_line;
                     }
                     self.transactions.push_back(tx);
-                    sc_app_layer_parser_trigger_raw_stream_inspection(flow, Direction::ToServer as i32);
+                    sc_app_layer_parser_trigger_raw_stream_inspection(flow, Direction::ToClient as i32);
                     let consumed = start.len() - rem.len();
                     start = rem;