diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2009-12-14 05:33:15 +0100 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2009-12-14 05:33:15 +0100 |
commit | 526e5e61e4e267e9672f429bbf6c338e46506038 (patch) | |
tree | ef7106011b48d3604f15943639f6a7129fd46a7e /src/dhcp.c | |
parent | f3dc9d0ddf44509ca2d9986de149ec5378a1afb2 (diff) | |
download | connman-526e5e61e4e267e9672f429bbf6c338e46506038.tar.gz connman-526e5e61e4e267e9672f429bbf6c338e46506038.tar.bz2 connman-526e5e61e4e267e9672f429bbf6c338e46506038.zip |
Add timeserver value from DHCP configuration
Diffstat (limited to 'src/dhcp.c')
-rw-r--r-- | src/dhcp.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -119,6 +119,8 @@ void connman_dhcp_set_value(struct connman_dhcp *dhcp, } else if (g_strcmp0(key, "Hostname") == 0) { __connman_utsname_set_hostname(value); } else if (g_strcmp0(key, "Timeserver") == 0) { + g_free(dhcp->element->ipv4.timeserver); + dhcp->element->ipv4.timeserver = g_strdup(value); } else if (g_strcmp0(key, "MTU") == 0) { } } |