aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/init.d/netconsole
diff options
context:
space:
mode:
Diffstat (limited to 'rc.d/init.d/netconsole')
-rw-r--r--rc.d/init.d/netconsole2
1 files changed, 1 insertions, 1 deletions
diff --git a/rc.d/init.d/netconsole b/rc.d/init.d/netconsole
index 14f96d76..63e23897 100644
--- a/rc.d/init.d/netconsole
+++ b/rc.d/init.d/netconsole
@@ -63,7 +63,7 @@ print_address_info ()
target=$host
fi
if [ -z "$SYSLOGMACADDR" ]; then
- arp=$(LANG=C /sbin/arping -c 1 -I $DEV $target 2>/dev/null | awk '/ reply from .*[.*]/ { print gensub(".* reply from .* \\[(.*)\\].*","\\1","G"); exit }')
+ arp=$(LANG=C /sbin/arping -f -c 1 -I $DEV $target 2>/dev/null | awk '/ reply from .*[.*]/ { print gensub(".* reply from .* \\[(.*)\\].*","\\1","G"); exit }')
[ -n "$arp" ] && echo "SYSLOGMACADDR=$arp"
fi
}