[conntrack-tools PATCH 2/2] tests: conntrackd: silence sysctl

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



We are not interested in sysctl echoing the value it just set.

Signed-off-by: Arturo Borrero Gonzalez <arturo@xxxxxxxxxxxxx>
---
 tests/conntrackd/scenarios/basic/network-setup.sh |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/conntrackd/scenarios/basic/network-setup.sh b/tests/conntrackd/scenarios/basic/network-setup.sh
index ff8df26..7f2f78a 100755
--- a/tests/conntrackd/scenarios/basic/network-setup.sh
+++ b/tests/conntrackd/scenarios/basic/network-setup.sh
@@ -25,7 +25,7 @@ start () {
 	ip -net nsr1 link set up dev veth0
 	ip -net nsr1 link set up dev veth1
 	ip -net nsr1 route add default via 192.168.10.2
-	ip netns exec nsr1 sysctl net.ipv4.ip_forward=1
+	ip netns exec nsr1 sysctl -q net.ipv4.ip_forward=1
 
 	ip -net nsr1 addr add 192.168.100.2/24 dev veth2
 	ip -net nsr1 link set up dev veth2




[Index of Archives]     [Netfitler Users]     [Berkeley Packet Filter]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux