summaryrefslogtreecommitdiff
path: root/src/dhcp.c
diff options
context:
space:
mode:
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);
}
}