diff options
author | Anders Roxell <anders.roxell@linaro.org> | 2014-02-21 12:37:54 +0100 |
---|---|---|
committer | Anders Roxell <anders.roxell@linaro.org> | 2014-02-25 11:44:50 +0100 |
commit | d10b2faa95e703f3f3a7ae7aad14ade93d7fdcce (patch) | |
tree | 86be5e42570263ec1011ca44017a9dfd9c2fec5b /common | |
parent | e1f3c02f5513926a0683da78f7861f8f86b81f64 (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-x | common/scripts/netperf-client.sh | 2 |
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 |