diff options
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/network-setup.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/network-setup.sh b/tests/network-setup.sh index 4a19ead..c8bf18f 100755 --- a/tests/network-setup.sh +++ b/tests/network-setup.sh @@ -13,6 +13,7 @@ fi start () { NUM_CLIENTS=3 + NUM_REDIRECT=3 ip netns add srv ip netns add br @@ -100,7 +101,7 @@ start () { ip -net srv addr add 10.141.10.1/24 dev veth0 ip -net srv link set up dev veth0 - ip netns exec srv .././tiptorrent --max-clients $NUM_CLIENTS --redirect --root . & + ip netns exec srv .././tiptorrent --max-clients $NUM_CLIENTS --redirect $NUM_REDIRECT --root . & ip -net c1 addr add 10.141.10.2/24 dev veth0 ip -net c1 link set up dev veth0 |