Skip to content

Conversation

@bryanseay
Copy link
Contributor

When an scap file is loaded, sinsp::next() is called in a loop during initialization. If an analyzer exists, this is done before on_capture_start has ever been called.

This change adds an additional call to m_analyzer->on_capture_start before the next loop.

@bryanseay bryanseay requested a review from gnosek April 17, 2019 02:34
@bryanseay bryanseay merged commit 63b1a20 into dev Apr 18, 2019
@bryanseay bryanseay deleted the SMAGENT-1463-scap-file branch April 18, 2019 16:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants