Skip to content
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

Fixed netmon initialisation bug #199 #200

Merged
merged 1 commit into from
Aug 27, 2021

Conversation

quantum-shift
Copy link
Collaborator

As mentioned in #199, netmon is always initialised with the default constructor since the introduction of registry. This is fixed by introducing a new registry macro for registering a subclass with a single argument constructor.

netmon is now initialised with a constructor taking a vector of network devices as input. The network devices passed as arguments in the CLI are passed to the constructor.

Closes #199.

@graeme-a-stewart graeme-a-stewart merged commit 6454595 into HSF:main Aug 27, 2021
@graeme-a-stewart
Copy link
Member

Thanks @quantum-shift - nice fix!

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.

Network monitor not properly initialised
2 participants