diff options
author | Benjamin Coddington <bcodding@uvm.edu> | 2012-04-23 11:19:43 -0400 |
---|---|---|
committer | Lukas Nykryn <lnykryn@redhat.com> | 2012-08-03 10:53:39 +0200 |
commit | 7a9ef3ec3b89e47015f7a5d3e78504e12382ed5c (patch) | |
tree | 7eabda34f2ce2b60b00dd75515e49686e0fa4eb7 /sysconfig/network-scripts/ifup-eth | |
parent | 71cc8dfec746902f4b3c91d5ad4a0e2169326eac (diff) | |
download | initscripts-7a9ef3ec3b89e47015f7a5d3e78504e12382ed5c.tar initscripts-7a9ef3ec3b89e47015f7a5d3e78504e12382ed5c.tar.gz initscripts-7a9ef3ec3b89e47015f7a5d3e78504e12382ed5c.tar.bz2 initscripts-7a9ef3ec3b89e47015f7a5d3e78504e12382ed5c.tar.xz initscripts-7a9ef3ec3b89e47015f7a5d3e78504e12382ed5c.zip |
Allow duplicate address dectection to be disabled
Diffstat (limited to 'sysconfig/network-scripts/ifup-eth')
-rwxr-xr-x | sysconfig/network-scripts/ifup-eth | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/ifup-eth b/sysconfig/network-scripts/ifup-eth index 666d1359..133fbef4 100755 --- a/sysconfig/network-scripts/ifup-eth +++ b/sysconfig/network-scripts/ifup-eth @@ -250,7 +250,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 |