Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 180888 | Differences between
and this patch

Collapse All | Expand All

(-)net.Linux/arping.sh (-1 / +1 lines)
Lines 27-33 Link Here
27
		[ -z "$(_get_inet_address)" ] && opts="${opts} -0"
27
		[ -z "$(_get_inet_address)" ] && opts="${opts} -0"
28
		[ -n "${spoof}" ] && opts="${opts} -S ${spoof}"
28
		[ -n "${spoof}" ] && opts="${opts} -S ${spoof}"
29
		while [ ${w} -gt 0 -a -z "${foundmac}" ]; do
29
		while [ ${w} -gt 0 -a -z "${foundmac}" ]; do
30
			foundmac="$(arping2 ${opts} -r -c 1 -0 -i "${IFACE}" "${ip}" 2>/dev/null | \
30
			foundmac="$(arping2 ${opts} -r -c 1 -i "${IFACE}" "${ip}" 2>/dev/null | \
31
			sed -e 'y/abcdef/ABCDEF/')"
31
			sed -e 'y/abcdef/ABCDEF/')"
32
			w=$((${w} - 1))
32
			w=$((${w} - 1))
33
		done
33
		done

Return to bug 180888