From 2de56366bf82d660cf8ec460769370085358d3da Mon Sep 17 00:00:00 2001 From: Lukas Nykryn Date: Wed, 19 Mar 2014 10:16:53 +0100 Subject: ifup: add possibility to specify value for -w parameter of arping --- sysconfig/network-scripts/ifup-aliases | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sysconfig/network-scripts/ifup-aliases') diff --git a/sysconfig/network-scripts/ifup-aliases b/sysconfig/network-scripts/ifup-aliases index 9bc815f3..c92a431d 100755 --- a/sysconfig/network-scripts/ifup-aliases +++ b/sysconfig/network-scripts/ifup-aliases @@ -260,7 +260,7 @@ function new_interface () [ "${parent_device}" != "lo" ] && [ "${ARPCHECK}" != "no" ] && \ is_available ${parent_device} && \ grep -qswi "up" /sys/class/net/${parent_device}/operstate && \ - if ! /sbin/arping -q -c 2 -w 3 -D -I ${parent_device} ${IPADDR} ; then + if ! /sbin/arping -q -c 2 -w ${ARPING_WAIT:-3} -D -I ${parent_device} ${IPADDR} ; then net_log $"Error, some other host already uses address ${IPADDR}." return 1 fi -- cgit v1.2.1