summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/connections/ethernet2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/connections/ethernet b/src/connections/ethernet
index 7265f40..eb0bd8d 100644
--- a/src/connections/ethernet
+++ b/src/connections/ethernet
@@ -51,7 +51,7 @@ ethernet_up() {
if checkyesno "${DHCLIENT:-no}"; then
rm -r "/var/run/dhclient-${INTERFACE}.pid" >/dev/null 2>&1
report_debug ethernet_up dhclient -q -e TIMEOUT="${DHCP_TIMEOUT:-10}" -pf "/var/run/dhclient-$INTERFACE.pid" "$INTERFACE"
- if ! dhclient -q -e TIMEOUT="${DHCP_TIMEOUT:-10}" -pf "/var/run/dhclient-${INTERFACE}.pid" "$INTERFACE"; then
+ if ! dhclient -q -e TIMEOUT="${DHCP_TIMEOUT:-10}" -pf "/var/run/dhclient-${INTERFACE}.pid" ${DHCLIENT_OPTIONS} "$INTERFACE"; then
report_fail "DHCP IP lease attempt failed."
return 1
fi