]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
smb: fix typo in comment
authorPhilippe Antoine <pantoine@oisf.net>
Mon, 26 Dec 2022 15:57:41 +0000 (16:57 +0100)
committerVictor Julien <vjulien@oisf.net>
Tue, 10 Jan 2023 10:28:18 +0000 (11:28 +0100)
rust/src/smb/smb.rs

index 54407bbe9e917ba8c6cbfa425607b644b9929c21..77ca733a4ea754a4f59f1799b7632002eae705d3 100644 (file)
@@ -1397,7 +1397,7 @@ impl SMBState {
                                             if smb_record.is_request() {
                                                 smb1_request_record(self, smb_record);
                                             } else {
-                                                // If we recevied a response when expecting a request, set an event
+                                                // If we received a response when expecting a request, set an event
                                                 // on the PDU frame instead of handling the response.
                                                 SCLogDebug!("SMB1 reply seen from client to server");
                                                 if let Some(frame) = pdu_frame {
@@ -1426,7 +1426,7 @@ impl SMBState {
                                                 if smb_record.is_request() {
                                                     smb2_request_record(self, smb_record);
                                                 } else {
-                                                    // If we recevied a response when expecting a request, set an event
+                                                    // If we received a response when expecting a request, set an event
                                                     // on the PDU frame instead of handling the response.
                                                     SCLogDebug!("SMB2 reply seen from client to server");
                                                     if let Some(frame) = pdu_frame {