Commit e8497d69 authored by Petr Machata's avatar Petr Machata Committed by Jakub Kicinski

selftests: forwarding: no_forwarding: Down ports on cleanup

This test neglects to put ports down on cleanup. Fix it.

Fixes: 476a4f05 ("selftests: forwarding: add a no_forwarding.sh test")
Signed-off-by: default avatarPetr Machata <petrm@nvidia.com>
Reviewed-by: default avatarSimon Horman <horms@kernel.org>
Link: https://patch.msgid.link/0baf91dc24b95ae0cadfdf5db05b74888e6a228a.1724430120.git.petrm@nvidia.comSigned-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent bc21000e
...@@ -233,6 +233,9 @@ cleanup() ...@@ -233,6 +233,9 @@ cleanup()
{ {
pre_cleanup pre_cleanup
ip link set dev $swp2 down
ip link set dev $swp1 down
h2_destroy h2_destroy
h1_destroy h1_destroy
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment