Skip to content

Commit 99bacbc

Browse files
daniellertsgregkh
authored andcommitted
selftests: forwarding: Specify interface when invoking mausezahn
[ Upstream commit 11df27f ] Specify the interface through which packets should be transmitted so that the test will pass regardless of the libnet version against which mausezahn is linked. Fixes: cab14d1 ("selftests: Add version of router_multipath.sh using nexthop objects") Fixes: 3d578d8 ("selftests: forwarding: Test IPv4 weighted nexthops") Signed-off-by: Danielle Ratson <danieller@nvidia.com> Signed-off-by: Ido Schimmel <idosch@nvidia.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent c9e668a commit 99bacbc

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎tools/testing/selftests/net/forwarding/router_mpath_nh.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ multipath4_test()
197197
t0_rp12=$(link_stats_tx_packets_get $rp12)
198198
t0_rp13=$(link_stats_tx_packets_get $rp13)
199199

200-
ip vrf exec vrf-h1 $MZ -q -p 64 -A 192.0.2.2 -B 198.51.100.2 \
200+
ip vrf exec vrf-h1 $MZ $h1 -q -p 64 -A 192.0.2.2 -B 198.51.100.2 \
201201
-d 1msec -t udp "sp=1024,dp=0-32768"
202202

203203
t1_rp12=$(link_stats_tx_packets_get $rp12)

‎tools/testing/selftests/net/forwarding/router_multipath.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ multipath4_test()
178178
t0_rp12=$(link_stats_tx_packets_get $rp12)
179179
t0_rp13=$(link_stats_tx_packets_get $rp13)
180180

181-
ip vrf exec vrf-h1 $MZ -q -p 64 -A 192.0.2.2 -B 198.51.100.2 \
181+
ip vrf exec vrf-h1 $MZ $h1 -q -p 64 -A 192.0.2.2 -B 198.51.100.2 \
182182
-d 1msec -t udp "sp=1024,dp=0-32768"
183183

184184
t1_rp12=$(link_stats_tx_packets_get $rp12)

0 commit comments

Comments
 (0)