|
|
|
@ -117,7 +117,7 @@ case $reason in
@@ -117,7 +117,7 @@ case $reason in
|
|
|
|
|
read layer2 < /sys/class/net/$netif/device/layer2 |
|
|
|
|
fi |
|
|
|
|
if [ "$layer2" != "0" ]; then |
|
|
|
|
if ! arping -q -D -c 2 -I $netif $new_ip_address ; then |
|
|
|
|
if ! arping -f -q -D -c 2 -I $netif $new_ip_address ; then |
|
|
|
|
warn "Duplicate address detected for $new_ip_address while doing dhcp. retrying" |
|
|
|
|
exit 1 |
|
|
|
|
fi |
|
|
|
|