diff options
author | Michael Boelen <michael.boelen@cisofy.com> | 2016-12-02 22:48:37 +0300 |
---|---|---|
committer | Michael Boelen <michael.boelen@cisofy.com> | 2016-12-02 22:48:37 +0300 |
commit | e483d690506c45be28ae05bf8f86e4531b15e460 (patch) | |
tree | fc75042ac9b62bc5b3baf83b25749b640c9b8d79 | |
parent | 1b868a3a0f4f73873d793a4d0f33bddb32bb6c40 (diff) |
Solved error on AIX
-rw-r--r-- | include/tests_networking | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/tests_networking b/include/tests_networking index de297add..bb50b497 100644 --- a/include/tests_networking +++ b/include/tests_networking @@ -260,7 +260,7 @@ FIND="" case ${OS} in AIX) - FIND=`lscfg -vl ent* | f${GREPBINARY} "Network Address" | ${CUTBINARY} -d"." -f14 | ${AWKBINARY} '{ ctr=1; i=1; while (ctr <= 6) { d[ctr++]=substr($0,i,2);i=i+2 } printf("%s:%s:%s:%s:%s:%s\n",d[1],d[2],d[3],d[4],d[5],d[6]) }'` + FIND=`lscfg -vl ent* | ${GREPBINARY} "Network Address" | ${CUTBINARY} -d"." -f14 | ${AWKBINARY} '{ ctr=1; i=1; while (ctr <= 6) { d[ctr++]=substr($0,i,2);i=i+2 } printf("%s:%s:%s:%s:%s:%s\n",d[1],d[2],d[3],d[4],d[5],d[6]) }'` ;; DragonFly|FreeBSD) FIND=`${IFCONFIGBINARY} -a | ${AWKBINARY} '{ if ($1=="ether") print $2 }' | ${SORTBINARY} -u` |