Skip to content

Conversation

@sgtcortez
Copy link
Contributor

The bug

Since pidsToWatch was declared in the main.cpp file, compilations which uses only the headers have an undefined symbol.

I have just moved the definition to the process.cpp class, which will be included in all binaries.

Checks

I am not sure how to check to reproduce the error from #230

I have run: make & make libnethogs which compiled successfully

image

If you have another way to test the, I would be glad to learn

Copy link
Owner

@raboof raboof left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! And thanks to @DiedByDisgust for the review in #230 (comment) ;)

@raboof raboof merged commit 2497311 into raboof:main Mar 22, 2023
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.

2 participants