diff options
author | Lukas Nykryn <lnykryn@redhat.com> | 2014-03-19 10:16:53 +0100 |
---|---|---|
committer | Lukas Nykryn <lnykryn@redhat.com> | 2014-03-19 13:34:53 +0100 |
commit | 57d2147d3956a4a5d0a11a82a561e8e34c963ffd (patch) | |
tree | f48515aeef363d6f0f277df59844c685931780e3 | |
parent | e80b1837bbc523eb5396e4673823ace81310cbd2 (diff) | |
download | initscripts-57d2147d3956a4a5d0a11a82a561e8e34c963ffd.tar initscripts-57d2147d3956a4a5d0a11a82a561e8e34c963ffd.tar.gz initscripts-57d2147d3956a4a5d0a11a82a561e8e34c963ffd.tar.bz2 initscripts-57d2147d3956a4a5d0a11a82a561e8e34c963ffd.tar.xz initscripts-57d2147d3956a4a5d0a11a82a561e8e34c963ffd.zip |
ifup: add possibility to specify value for -w parameter of arping
Conflicts:
sysconfig/network-scripts/ifup-aliases
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 5794005b..2d2c5267 100755 --- a/sysconfig/network-scripts/ifup-eth +++ b/sysconfig/network-scripts/ifup-eth @@ -264,7 +264,7 @@ else fi if ! LC_ALL=C ip addr ls ${REALDEVICE} | LC_ALL=C grep -q "${IPADDR}/${PREFIX}" ; then - if ! arping -q -c 2 -w 3 -D -I ${REALDEVICE} ${IPADDR} ; then + if ! arping -q -c 2 -w ${ARPING_WAIT:-3} -D -I ${REALDEVICE} ${IPADDR} ; then net_log $"Error, some other host already uses address ${IPADDR}." exit 1 fi |