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

cli normalized CIDRs silent #304

Merged
merged 1 commit into from
Mar 17, 2021
Merged

Conversation

LKaemmerling
Copy link
Member

The cli normalized the given CIDRs by default, so when a user entered 10.0.0.1/8 (as a sample) the cli normalized it to 10.0.0.0/8 silent. After this MR we now validate that the given IP is the start of the CIDR block (e.g. 10.0.0.0/8).

Signed-off-by: Lukas Kämmerling [email protected]

This also includes a fix for #303

… 10.0.0.1/8 (as a sample) the cli normalized it to 10.0.0.0/8 silent. After this MR we now validate that the given IP is the start of the CIDR block (e.g. 10.0.0.0/8).

Signed-off-by: Lukas Kämmerling <[email protected]>
@LKaemmerling LKaemmerling force-pushed the fix-cli-normalize-cidrs-silenty branch from 3d1f8c3 to 9579606 Compare March 17, 2021 07:43
@LKaemmerling LKaemmerling merged commit 5442833 into master Mar 17, 2021
@LKaemmerling LKaemmerling deleted the fix-cli-normalize-cidrs-silenty branch March 17, 2021 07:50
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