summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorOle Troan <ot@cisco.com>2019-09-11 17:49:08 +0200
committerOle Troan <ot@cisco.com>2019-09-12 13:17:40 +0200
commite6a5712624186d4162cbba8e49ff15362aeda17d (patch)
treeb5ced6fc0c1b5d635ce1cc6780d570ec91daa77c /test
parent4b943d632864949310da4c88ea00e59f6043ae40 (diff)
api: split vl_api_prefix into two
One type for address with prefix and one type for prefix. Ticket: VPP-1769 Type: fix Signed-off-by: Ole Troan <ot@cisco.com> Change-Id: Icfec51d9b7d5cde1d69fbecdd97498688ab7b295 Signed-off-by: Klement Sekera <ksekera@cisco.com>
Diffstat (limited to 'test')
-rw-r--r--test/vpp_ip_route.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/vpp_ip_route.py b/test/vpp_ip_route.py
index a70180b3de5..569ccea4d4f 100644
--- a/test/vpp_ip_route.py
+++ b/test/vpp_ip_route.py
@@ -153,7 +153,7 @@ def fib_interface_ip_prefix(test, address, length, sw_if_index):
# TODO: refactor this to VppIpPrefix.__eq__
for a in addrs:
if a.sw_if_index == sw_if_index and \
- a.prefix == prefix:
+ a.prefix.network == prefix:
return True
return False