system/corennnnn
Revisión | ed74fc351dca2e3f45ffbc7739b3207d01c6a5a2 (tree) |
---|---|
Tiempo | 2013-06-16 17:06:06 |
Autor | Matt Gumbel <matthew.k.gumbel@linu...> |
Commiter | Chih-Wei Huang |
Fix dhcpd startup when net.hostname is not set
Commit 62d6f74 swapped p2p_interface and DHCP_CONFIG_PATH
erroneously. This reverts them to their correct ordering and makes dhcpcd
startup work again.
Change-Id: Iea033a7e0dad98bb2a63fb39755330675cfbb0ab
Signed-off-by: Matt Gumbel <matthew.k.gumbel@linux.intel.com>
@@ -211,7 +211,7 @@ int dhcp_do_request(const char *interface, | ||
211 | 211 | p2p_interface, DHCP_CONFIG_PATH, prop_value, interface); |
212 | 212 | else |
213 | 213 | snprintf(daemon_cmd, sizeof(daemon_cmd), "%s_%s:-f %s %s", DAEMON_NAME, |
214 | - DHCP_CONFIG_PATH, p2p_interface, interface); | |
214 | + p2p_interface, DHCP_CONFIG_PATH, interface); | |
215 | 215 | memset(prop_value, '\0', PROPERTY_VALUE_MAX); |
216 | 216 | property_set(ctrl_prop, daemon_cmd); |
217 | 217 | if (wait_for_property(daemon_prop_name, desired_status, 10) < 0) { |