summaryrefslogtreecommitdiff
path: root/python/vyos/configdict.py
diff options
context:
space:
mode:
authorThomas Mangin <thomas.mangin@exa.net.uk>2020-03-30 22:31:29 +0100
committerThomas Mangin <thomas.mangin@exa.net.uk>2020-03-30 22:31:29 +0100
commite2f80e57d9895d207edf0ad92c299dc7862087d6 (patch)
treef7f3fcb13a09d2632d7f5fa914ae2f2e35dcee19 /python/vyos/configdict.py
parent272d6a0968fb22bda0c82068ed1cbf7d9ddd3fd9 (diff)
downloadvyos-1x-e2f80e57d9895d207edf0ad92c299dc7862087d6.tar.gz
vyos-1x-e2f80e57d9895d207edf0ad92c299dc7862087d6.zip
validate: T2182: IPv6 are not normalised when compared
Adding an already existing IP address on an interface would cause the 'ip addr add' command to fail. To prevent this, the code checks if the IP already exists on the interface. The code was not normalising the different ways of representing the IPv6 address (trailing 0, ::, etc.).
Diffstat (limited to 'python/vyos/configdict.py')
0 files changed, 0 insertions, 0 deletions