aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/ifup-eth
diff options
context:
space:
mode:
authorBenjamin Coddington <bcodding@uvm.edu>2012-04-23 11:19:43 -0400
committerLukas Nykryn <lnykryn@redhat.com>2012-08-07 14:42:45 +0200
commit06cdd94e805e1c6d0faf3e9ece0dc71f301831ef (patch)
tree25563e60fd4126a9838781d5553bbe40db7d785e /sysconfig/network-scripts/ifup-eth
parenteb8425399e577b6d0a7521dd09dfafab975932d2 (diff)
downloadinitscripts-06cdd94e805e1c6d0faf3e9ece0dc71f301831ef.tar
initscripts-06cdd94e805e1c6d0faf3e9ece0dc71f301831ef.tar.gz
initscripts-06cdd94e805e1c6d0faf3e9ece0dc71f301831ef.tar.bz2
initscripts-06cdd94e805e1c6d0faf3e9ece0dc71f301831ef.tar.xz
initscripts-06cdd94e805e1c6d0faf3e9ece0dc71f301831ef.zip
Allow duplicate address dectection to be disabled
Diffstat (limited to 'sysconfig/network-scripts/ifup-eth')
-rwxr-xr-xsysconfig/network-scripts/ifup-eth2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/ifup-eth b/sysconfig/network-scripts/ifup-eth
index 8c8b588a..4692f63e 100755
--- a/sysconfig/network-scripts/ifup-eth
+++ b/sysconfig/network-scripts/ifup-eth
@@ -243,7 +243,7 @@ else
fi
if ! LC_ALL=C ip addr ls ${REALDEVICE} | LC_ALL=C grep -q "${ipaddr[$idx]}/${prefix[$idx]}" ; then
- [ "${REALDEVICE}" != "lo" ] && \
+ [ "${REALDEVICE}" != "lo" ] && [ "${arpcheck[$idx]}" != "no" ] && \
if ! /sbin/arping -q -c 2 -w 3 -D -I ${REALDEVICE} ${ipaddr[$idx]} ; then
net_log $"Error, some other host already uses address ${ipaddr[$idx]}."
exit 1