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

Trim whitespace to make a valid IP #96

Open
wants to merge 1 commit into
base: staging
Choose a base branch
from

Conversation

kafkaesqu3
Copy link

I kept getting the error when running modules on a netblock:

[!] '1.2.3.4/29 ' does not appear to be an IPv4 or IPv6 network.

Note the trailing space. This would happen even when I manually inserted the CIDR and made sure there was no space. Not sure where/why the space was being added, so this PR removes trailing spaces.

@lanmaster53
Copy link
Owner

Please submit all pull requests to the staging branch.

Also, what techniques did you use to manually insert the CIDR? I'd rather find the cause of the problem and fix it vs. patch.

Thanks!

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.

None yet

2 participants