From: Roy Marples Date: Tue, 4 Nov 2008 10:13:07 +0000 (+0000) Subject: Test should always DISCOVER. X-Git-Tag: v5.0.0~195 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5b7112f52583dff9385712b40bb800e2febd36ad;p=thirdparty%2Fdhcpcd.git Test should always DISCOVER. --- diff --git a/dhcpcd.c b/dhcpcd.c index 4741594c..e2d2b4cd 100644 --- a/dhcpcd.c +++ b/dhcpcd.c @@ -774,6 +774,10 @@ start_interface(void *arg) } iface->start_uptime = uptime(); + if (options & DHCPCD_TEST) { + start_discover(iface); + return; + } if (ifo->request_address.s_addr) { /* This also changes netmask */ if (iface->state->options->options & DHCPCD_INFORM &&