Commit d721b686 authored by Fabian Frederick's avatar Fabian Frederick Committed by Pablo Neira Ayuso

selftests: netfilter: remove unused variable in make_file()

'who' variable was not used in make_file()
Problem found using Shellcheck
Signed-off-by: default avatarFabian Frederick <fabf@skynet.be>
Signed-off-by: default avatarPablo Neira Ayuso <pablo@netfilter.org>
parent a7bf670e
...@@ -212,7 +212,6 @@ ns2out=$(mktemp) ...@@ -212,7 +212,6 @@ ns2out=$(mktemp)
make_file() make_file()
{ {
name=$1 name=$1
who=$2
SIZE=$((RANDOM % (1024 * 8))) SIZE=$((RANDOM % (1024 * 8)))
TSIZE=$((SIZE * 1024)) TSIZE=$((SIZE * 1024))
...@@ -304,8 +303,8 @@ test_tcp_forwarding_nat() ...@@ -304,8 +303,8 @@ test_tcp_forwarding_nat()
return $lret return $lret
} }
make_file "$ns1in" "ns1" make_file "$ns1in"
make_file "$ns2in" "ns2" make_file "$ns2in"
# First test: # First test:
# No PMTU discovery, nsr1 is expected to fragment packets from ns1 to ns2 as needed. # No PMTU discovery, nsr1 is expected to fragment packets from ns1 to ns2 as needed.
......
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