summaryrefslogtreecommitdiff
path: root/src/dhcp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/dhcp.c')
-rw-r--r--src/dhcp.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/dhcp.c b/src/dhcp.c
index 273912ba..36e2ff5b 100644
--- a/src/dhcp.c
+++ b/src/dhcp.c
@@ -186,6 +186,19 @@ void connman_dhcp_renew(struct connman_dhcp *dhcp)
}
/**
+ * connman_dhcp_release:
+ * @dhcp: DHCP structure
+ *
+ * Report DHCP release of the interface
+ */
+void connman_dhcp_release(struct connman_dhcp *dhcp)
+{
+ DBG("dhcp %p", dhcp);
+
+ connman_element_unregister_children(dhcp->element);
+}
+
+/**
* connman_dhcp_fail:
* @dhcp: DHCP structure
*