Skip to content

Commit

Permalink
codecheck fix
Browse files Browse the repository at this point in the history
Co-authored-by: Jan Macku <[email protected]>
  • Loading branch information
xanoxes and jamacku authored Dec 23, 2024
1 parent 450a603 commit e6d51db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion network-scripts/ifup-eth
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ else
if [ "${REALDEVICE}" != "lo" ] && ! is_false "${arpcheck[$idx]}"; then
for (( tries=0; tries<${ARPING_TRIES:=1}; tries++ )); do
ARPING=$(/sbin/arping -c 2 -w ${ARPING_WAIT:-3} -D -I ${REALDEVICE} ${ipaddr[$idx]})
[ $? = 0 ] && break
[ "$?" -eq 0 ] && break
ARPINGMAC=$(echo $ARPING | sed -ne 's/.*\[\(.*\)\].*/\1/p')
if [ -n "${ARPINGMAC}" ]; then
net_log $"Error, some other host ($ARPINGMAC) already uses address ${ipaddr[$idx]}."
Expand Down

0 comments on commit e6d51db

Please sign in to comment.