found/fixed following typos
- add add -> add - cannnot -> cannot - fowarded -> forwarded
in `tools/testing/selftests/net/netfilter/nft_nat.sh`
Signed-off-by: Soham Metha sohammetha01@gmail.com --- .../testing/selftests/net/netfilter/nft_nat.sh | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/tools/testing/selftests/net/netfilter/nft_nat.sh b/tools/testing/selftests/net/netfilter/nft_nat.sh index a954754b99b3..44a8fdf5c19c 100755 --- a/tools/testing/selftests/net/netfilter/nft_nat.sh +++ b/tools/testing/selftests/net/netfilter/nft_nat.sh @@ -164,7 +164,7 @@ table $family nat { } EOF if [ $? -ne 0 ]; then - echo "SKIP: Could not add add $family dnat hook" + echo "SKIP: Could not add $family dnat hook" return $ksft_skip fi
@@ -239,7 +239,7 @@ EOF test_inet_nat=false return $ksft_skip fi - echo "SKIP: Could not add add $family dnat hook" + echo "SKIP: Could not add $family dnat hook" return $ksft_skip fi
@@ -418,7 +418,7 @@ table $family nat { } EOF if [ $? -ne 0 ]; then - echo "SKIP: Could not add add $family masquerade hook" + echo "SKIP: Could not add $family masquerade hook" return $ksft_skip fi
@@ -509,7 +509,7 @@ table $family nat { } EOF if [ $? -ne 0 ]; then - echo "SKIP: Could not add add $family masquerade hook" + echo "SKIP: Could not add $family masquerade hook" return $ksft_skip fi
@@ -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
@@ -598,7 +598,7 @@ table $family nat { } EOF if [ $? -ne 0 ]; then - echo "SKIP: Could not add add $family redirect hook" + echo "SKIP: Could not add $family redirect hook" return $ksft_skip fi
@@ -673,7 +673,7 @@ table $family nat { } EOF if [ $? -ne 0 ]; then - echo "SKIP: Could not add add $family redirect hook" + echo "SKIP: Could not add $family redirect hook" return $ksft_skip fi
@@ -844,7 +844,7 @@ table $family nat { } EOF if [ $? -ne 0 ]; then - echo "SKIP: Could not add add $family masquerade hook" + echo "SKIP: Could not add $family masquerade hook" return $ksft_skip 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"