diff options
author | Samuel Ortiz <sameo@linux.intel.com> | 2010-07-22 15:54:58 +0200 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2010-07-22 15:54:58 +0200 |
commit | 15aa3f3f8240bf4f5dd30582258b7366c18173c0 (patch) | |
tree | 809be3969a2dfa01ff80283151d93a4f7574627e /gdhcp/client.c | |
parent | 03524ce74873a0df201894e6ae5f77a711d78849 (diff) | |
download | connman-15aa3f3f8240bf4f5dd30582258b7366c18173c0.tar.gz connman-15aa3f3f8240bf4f5dd30582258b7366c18173c0.tar.bz2 connman-15aa3f3f8240bf4f5dd30582258b7366c18173c0.zip |
gdhcp hostname option support
Diffstat (limited to 'gdhcp/client.c')
-rw-r--r-- | gdhcp/client.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdhcp/client.c b/gdhcp/client.c index 32263926..21b27456 100644 --- a/gdhcp/client.c +++ b/gdhcp/client.c @@ -1185,7 +1185,7 @@ GDHCPClientError g_dhcp_client_set_send(GDHCPClient *dhcp_client, uint8_t *binary_option; const char *hostname; - if (option_code == DHCP_HOST_NAME) { + if (option_code == G_DHCP_HOST_NAME) { hostname = get_hostname(option_value); binary_option = alloc_dhcp_option(option_code, hostname, 0); |