We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Let's suppose that a Virtual network has the following default gateway
GATEWAY=" "
Being the Gateway a simple space an invalid network configuration is rendered
The solution has to do with comparing the gateway with the following bash style regex:
^(([1-9]?[0-9]|1[0-9][0-9]|2([0-4][0-9]|5[0-5]))\.){3}([1-9]?[0-9]|1[0-9][0-9]|2([0-4][0-9]|5 [ 0-5]))$
The text was updated successfully, but these errors were encountered:
B #132: Sanitize/Check valid IPv4s
3d63883
If a default gateway is an invalid IP (or a space character) it leads to an error. Also, the `ONEGATE_ENDPOINT` regex has been modified.
Successfully merging a pull request may close this issue.
Let's suppose that a Virtual network has the following default gateway
Being the Gateway a simple space an invalid network configuration is rendered
The solution has to do with comparing the gateway with the following bash style regex:
The text was updated successfully, but these errors were encountered: