summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndres Urian Florez <andres.emb.sys@gmail.com>2025-02-16 19:14:50 -0500
committerFlorian Westphal <fw@strlen.de>2025-09-11 15:40:55 +0200
commit496a6ed8405ef15f6becc0126bf1577717faf86d (patch)
tree12569b95c0a7e632443e6476e93dd0f739f037b1
parent5adf6f2b9972dbb69f4dd11bae52ba251c64ecb7 (diff)
selftest:net: fixed spelling mistakes
Fixed spelling errors in test_redirect6() error message and test_port_shadowing() comments Signed-off-by: Andres Urian Florez <andres.emb.sys@gmail.com> Reviewed-by: Hangbin Liu <liuhangbin@gmail.com> Signed-off-by: Florian Westphal <fw@strlen.de>
-rwxr-xr-xtools/testing/selftests/net/netfilter/nft_nat.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/testing/selftests/net/netfilter/nft_nat.sh b/tools/testing/selftests/net/netfilter/nft_nat.sh
index a954754b99b3..b3ec2d0a3f56 100755
--- a/tools/testing/selftests/net/netfilter/nft_nat.sh
+++ b/tools/testing/selftests/net/netfilter/nft_nat.sh
@@ -569,7 +569,7 @@ test_redirect6()
ip netns exec "$ns0" sysctl net.ipv6.conf.all.forwarding=1 > /dev/null
if ! ip netns exec "$ns2" ping -q -c 1 dead:1::99 > /dev/null;then
- echo "ERROR: cannnot ping $ns1 from $ns2 via ipv6"
+ echo "ERROR: cannot ping $ns1 from $ns2 via ipv6"
lret=1
fi
@@ -859,7 +859,7 @@ EOF
# from router:service bypass connection tracking.
test_port_shadow_notrack "$family"
- # test nat based mitigation: fowarded packets coming from service port
+ # test nat based mitigation: forwarded packets coming from service port
# are masqueraded with random highport.
test_port_shadow_pat "$family"