summaryrefslogtreecommitdiff
path: root/src/dhcp.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2010-01-04 13:36:08 -0800
committerMarcel Holtmann <marcel@holtmann.org>2010-01-04 13:36:08 -0800
commit9e0c50af585c167eaf7768802b4d015a502108a6 (patch)
tree322a6f150309dd4d9e71a2dc4025edead7b18dd8 /src/dhcp.c
parent9f5bab2bdc8ea8164f47597f066d560840b953b1 (diff)
downloadconnman-9e0c50af585c167eaf7768802b4d015a502108a6.tar.gz
connman-9e0c50af585c167eaf7768802b4d015a502108a6.tar.bz2
connman-9e0c50af585c167eaf7768802b4d015a502108a6.zip
Store PAC URL configuration in DHCP and provider elements
Diffstat (limited to 'src/dhcp.c')
-rw-r--r--src/dhcp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dhcp.c b/src/dhcp.c
index 0e890c2d..eb6d52c5 100644
--- a/src/dhcp.c
+++ b/src/dhcp.c
@@ -123,6 +123,8 @@ void connman_dhcp_set_value(struct connman_dhcp *dhcp,
dhcp->element->ipv4.timeserver = g_strdup(value);
} else if (g_strcmp0(key, "MTU") == 0) {
} else if (g_strcmp0(key, "PAC") == 0) {
+ g_free(dhcp->element->ipv4.pac);
+ dhcp->element->ipv4.pac = g_strdup(value);
}
}