summaryrefslogtreecommitdiff
path: root/python/xref2vtysh.py
diff options
context:
space:
mode:
authorLoïc Sang <loic.sang@6wind.com>2024-05-06 17:30:01 +0200
committerLoïc Sang <loic.sang@6wind.com>2024-05-06 18:16:03 +0200
commit9eda89a244d4c11d5285ba20707d5e87ebcb33ed (patch)
treee981a592d2f8fa9c160dd02bd0fd102e0cec94f2 /python/xref2vtysh.py
parent216bac2826d60c47615cf50df1833c5c8543c75e (diff)
if: fix same connected address
Using the same address with a different prefix length is not supported. If we configure two identical addresses with different netmasks 192.168.1.1/30 and then 192.168.1.1/29. Zebra sends '192.168.1.1' with a prefix length of 29. However, the function 'zebra_interface_address_read()' reads '192.168.1.1/30' because the prefix length is not checked. Using 'same_prefix()' is more convenient. Signed-off-by: Loïc Sang <loic.sang@6wind.com>
Diffstat (limited to 'python/xref2vtysh.py')
0 files changed, 0 insertions, 0 deletions