selftests: forwarding: fix error message in learning_test
authorVladimir Oltean <vladimir.oltean@nxp.com>
Sun, 3 Jul 2022 07:36:26 +0000 (10:36 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 12 Jul 2022 14:35:16 +0000 (16:35 +0200)
commit3abec0b381737580e3534988e0b647e780113897
treeff4a33593a6ed8b5f9eefcf777500848ca259cda
parent1b74fe2e8f5ced78001cf5efd5d24cd304b4c538
selftests: forwarding: fix error message in learning_test

[ Upstream commit 83844aacab2015da1dba1df0cc61fc4b4c4e8076 ]

When packets are not received, they aren't received on $host1_if, so the
message talking about the second host not receiving them is incorrect.
Fix it.

Fixes: d4deb01467ec ("selftests: forwarding: Add a test for FDB learning")
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
tools/testing/selftests/net/forwarding/lib.sh