From 6230b9d123fb346ba71887d872c86b4934240386 Mon Sep 17 00:00:00 2001 From: Paul Vinciguerra Date: Tue, 28 Apr 2020 11:23:31 -0400 Subject: 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 --- test/vpp_ip_route.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test') 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( -- cgit 1.2.3-korg