summaryrefslogtreecommitdiff
path: root/gdhcp/common.c
diff options
context:
space:
mode:
authorSamuel Ortiz <sameo@linux.intel.com>2010-07-22 15:54:58 +0200
committerSamuel Ortiz <sameo@linux.intel.com>2010-07-22 15:54:58 +0200
commit15aa3f3f8240bf4f5dd30582258b7366c18173c0 (patch)
tree809be3969a2dfa01ff80283151d93a4f7574627e /gdhcp/common.c
parent03524ce74873a0df201894e6ae5f77a711d78849 (diff)
downloadconnman-15aa3f3f8240bf4f5dd30582258b7366c18173c0.tar.gz
connman-15aa3f3f8240bf4f5dd30582258b7366c18173c0.tar.bz2
connman-15aa3f3f8240bf4f5dd30582258b7366c18173c0.zip
gdhcp hostname option support
Diffstat (limited to 'gdhcp/common.c')
-rw-r--r--gdhcp/common.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdhcp/common.c b/gdhcp/common.c
index 784844b5..14fc62c6 100644
--- a/gdhcp/common.c
+++ b/gdhcp/common.c
@@ -37,6 +37,7 @@ static const DHCPOption client_options[] = {
{ OPTION_IP, 0x01 }, /* subnet-mask */
{ OPTION_IP | OPTION_LIST, 0x03 }, /* routers */
{ OPTION_IP | OPTION_LIST, 0x06 }, /* domain-name-servers */
+ { OPTION_STRING, 0x0c }, /* hostname */
{ OPTION_STRING, 0x0f }, /* domain-name */
{ OPTION_IP | OPTION_LIST, 0x2a }, /* ntp-servers */
{ OPTION_U32, 0x33 }, /* dhcp-lease-time */