• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

system/corennnnn


Commit MetaInfo

Revisióned74fc351dca2e3f45ffbc7739b3207d01c6a5a2 (tree)
Tiempo2013-06-16 17:06:06
AutorMatt Gumbel <matthew.k.gumbel@linu...>
CommiterChih-Wei Huang

Log Message

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>

Cambiar Resumen

Diferencia incremental

--- a/libnetutils/dhcp_utils.c
+++ b/libnetutils/dhcp_utils.c
@@ -211,7 +211,7 @@ int dhcp_do_request(const char *interface,
211211 p2p_interface, DHCP_CONFIG_PATH, prop_value, interface);
212212 else
213213 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);
215215 memset(prop_value, '\0', PROPERTY_VALUE_MAX);
216216 property_set(ctrl_prop, daemon_cmd);
217217 if (wait_for_property(daemon_prop_name, desired_status, 10) < 0) {