Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix dhcpcd 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@intel.com>
  • Loading branch information...
commit ba2ba5c011a3fb13cba538296b70888dd0fb129b 1 parent 7cd4507
@mattismyname mattismyname authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  libnetutils/dhcp_utils.c
View
2  libnetutils/dhcp_utils.c
@@ -211,7 +211,7 @@ int dhcp_do_request(const char *interface,
p2p_interface, DHCP_CONFIG_PATH, prop_value, interface);
else
snprintf(daemon_cmd, sizeof(daemon_cmd), "%s_%s:-f %s %s", DAEMON_NAME,
- DHCP_CONFIG_PATH, p2p_interface, interface);
+ p2p_interface, DHCP_CONFIG_PATH, interface);
memset(prop_value, '\0', PROPERTY_VALUE_MAX);
property_set(ctrl_prop, daemon_cmd);
if (wait_for_property(daemon_prop_name, desired_status, 10) < 0) {
Please sign in to comment.
Something went wrong with that request. Please try again.