Open Utopiah opened 3 years ago
Describe the bug While trying to add an IPv6 address in split tunneling it rejects it as invalid.
To Reproduce Steps to reproduce the behavior:
::1
Expected behavior Accept IPv6 addresses. If not, clarify that only IPv4 is supported for now.
Error Messages/Program Output/Log Messages (~/.pvpn-cli/pvpn-cli.log)
[!] Invalid IP Please enter an IP or CIDR to exclude from VPN.
Desktop (please complete the following information):
Additional context If IPv6 is supported seems like is_valid_ip in utils.py should also match IPv6 address format with another regex.
utils.py
Describe the bug While trying to add an IPv6 address in split tunneling it rejects it as invalid.
To Reproduce Steps to reproduce the behavior:
::1
Expected behavior Accept IPv6 addresses. If not, clarify that only IPv4 is supported for now.
Error Messages/Program Output/Log Messages (~/.pvpn-cli/pvpn-cli.log)
Desktop (please complete the following information):
Additional context If IPv6 is supported seems like is_valid_ip in
utils.py
should also match IPv6 address format with another regex.