diff options
author | Christian Poessinger <christian@poessinger.com> | 2019-08-04 23:44:03 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2019-08-04 23:44:07 +0200 |
commit | 752229cf7ef080d7a5dd723e7d9b1aa13e44ecd0 (patch) | |
tree | 8b365a675eb662ecfdf584c1740b1521333d7f71 /python/vyos/util.py | |
parent | 2a2e3e8cded406ce209b94f565b16e5a766ec97e (diff) | |
download | vyos-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 'python/vyos/util.py')
0 files changed, 0 insertions, 0 deletions