summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-08-04 23:44:03 +0200
committerChristian Poessinger <christian@poessinger.com>2019-08-04 23:44:07 +0200
commit752229cf7ef080d7a5dd723e7d9b1aa13e44ecd0 (patch)
tree8b365a675eb662ecfdf584c1740b1521333d7f71 /tests
parent2a2e3e8cded406ce209b94f565b16e5a766ec97e (diff)
downloadvyos-1x-752229cf7ef080d7a5dd723e7d9b1aa13e44ecd0.tar.gz
vyos-1x-752229cf7ef080d7a5dd723e7d9b1aa13e44ecd0.zip
Python/VyOS validate: improve logic on is_ipv4() and is_ipv6()
Previosly the check failed when a network statement was passed which contained host bits set e.g. 192.0.2.1/24. This no longer is an issue b/c this is a valid v4 address. Address is now split on / and validated.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions