summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ethernet.subr2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ethernet.subr b/src/ethernet.subr
index fd46ec3..d6a6970 100644
--- a/src/ethernet.subr
+++ b/src/ethernet.subr
@@ -33,7 +33,7 @@ ethernet_up() {
if checkyesno $DHCLIENT; then
rm -r /var/run/dhclient-${INTERFACE}.pid >/dev/null 2>&1
- if ! dhclient -q -e TIMEOUT=$DHCP_TIMEOUT -pf /var/run/dhclient-${INTERFACE}.pid; then
+ if ! dhclient -q -e TIMEOUT=$DHCP_TIMEOUT -pf /var/run/dhclient-${INTERFACE}.pid $INTERFACE; then
err_append "DHCP IP lease attempt failed"
return 1
fi