aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorPaul Vinciguerra <pvinci@vinciconsulting.com>2020-04-28 11:23:31 -0400
committerNeale Ranns <nranns@cisco.com>2020-04-28 16:42:36 +0000
commit6230b9d123fb346ba71887d872c86b4934240386 (patch)
tree23883e3a799337f238d93a57a685cbee4d7eedc9 /test
parente64e5fff4ddea88f386657c5d95ae8dc78138d20 (diff)
tests: fix update_path_flags for multicast in vpp_ip_route
add support for the case where the first path doesn't match the searched interface. Type: test Change-Id: I29bd724cfe275ec5489d32c37ef2af12d6d1102a Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com>
Diffstat (limited to 'test')
-rw-r--r--test/vpp_ip_route.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/vpp_ip_route.py b/test/vpp_ip_route.py
index 88388221363..cd70b38101a 100644
--- a/test/vpp_ip_route.py
+++ b/test/vpp_ip_route.py
@@ -678,8 +678,8 @@ class VppIpMRoute(VppObject):
for p in range(len(self.paths)):
if self.paths[p].nh_itf == itf:
self.paths[p].nh_i_flags = flags
- self.encoded_paths[p] = self.paths[p].encode()
- break
+ self.encoded_paths[p] = self.paths[p].encode()
+ break
self._test.vapi.ip_mroute_add_del(
route=self.encode(