-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tx track modif 7087 v14 #11915
base: master
Are you sure you want to change the base?
Tx track modif 7087 v14 #11915
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -200,6 +200,7 @@ impl TemplateState { | |
start = rem; | ||
|
||
if let Some(tx) = self.find_request() { | ||
tx.tx_data.updated[1] = true; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't really like this indexing with just a number to indicate a direction. Can we either index by some name or use something like There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Guess I will go for |
||
tx.response = Some(response); | ||
SCLogNotice!("Found response for request:"); | ||
SCLogNotice!("- Request: {:?}", tx.request); | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -61,6 +61,7 @@ impl SMBState { | |
_ => { false }, | ||
}; | ||
if hit { | ||
tx.tx_data.updated = [true; 2]; | ||
return Some(tx); | ||
} | ||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
creating a new tx should not lead to it being updated in both dirs? Just in the dir it was created in?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
right, will optimize