Skip to content

Commit

Permalink
Revert "Fix for Issue akara#75"
Browse files Browse the repository at this point in the history
This reverts commit 76f1149.

 Reinstate interface script to identify the master.
  • Loading branch information
whitingjr committed Feb 20, 2021
1 parent fad85c2 commit 7825b1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion harness/bin/Linux/interface
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ if [ -z "${TARGET}" ] ; then
usage
fi

INTERFACE=`ping -c1 "${TARGET}" | grep PING | cut -d "(" -f2 | cut -d ")" -f1 2>/tmp/interface.$$.err`
INTERFACE=`ping -R -c1 "${TARGET}" | grep RR | awk '{ print $2 }' 2>/tmp/interface.$$.err`

if [ -z "${INTERFACE}" ] ; then
cat /tmp/interface.$$.err >&2
Expand Down

0 comments on commit 7825b1c

Please sign in to comment.