summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorAnders Roxell <anders.roxell@linaro.org>2014-02-21 12:37:54 +0100
committerAnders Roxell <anders.roxell@linaro.org>2014-02-25 11:44:50 +0100
commitd10b2faa95e703f3f3a7ae7aad14ade93d7fdcce (patch)
tree86be5e42570263ec1011ca44017a9dfd9c2fec5b /common
parente1f3c02f5513926a0683da78f7861f8f86b81f64 (diff)
netperf-client: fix set local_ip to the correct ip
Change-Id: Iba06b340a348dfe7257493cc9f1d14653f84ad74 Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Diffstat (limited to 'common')
-rwxr-xr-xcommon/scripts/netperf-client.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/scripts/netperf-client.sh b/common/scripts/netperf-client.sh
index 7ab2032..288cc0f 100755
--- a/common/scripts/netperf-client.sh
+++ b/common/scripts/netperf-client.sh
@@ -2,7 +2,7 @@
set -x
-local_ip=$(ifconfig|grep "inet addr"|grep -v "127.0.0.1"|cut -d: -f2|cut -d' ' -f1)
+local_ip=$(ifconfig $1|grep "inet addr"|grep -v "127.0.0.1"|cut -d: -f2|cut -d' ' -f1)
for line in `lava-group | grep server | awk '{print $1}'` ; do
echo $line