From e483d690506c45be28ae05bf8f86e4531b15e460 Mon Sep 17 00:00:00 2001 From: Michael Boelen Date: Fri, 2 Dec 2016 20:48:37 +0100 Subject: Solved error on AIX --- include/tests_networking | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') 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` -- cgit v1.2.3