summaryrefslogtreecommitdiff
path: root/gdhcp
diff options
context:
space:
mode:
authorJukka Rissanen <jukka.rissanen@linux.intel.com>2012-10-11 07:11:49 (GMT)
committerMarcel Holtmann <marcel@holtmann.org>2012-10-11 13:28:12 (GMT)
commit08e508898a1531fb437e43b30eb270547b900a8d (patch)
tree63e1328eb2bcf5e5f7390b9b98ce42332d0e9819 /gdhcp
parentc7dab6af2e6b2e989353d653695c04f87e986e79 (diff)
downloadconnman-08e508898a1531fb437e43b30eb270547b900a8d.zip
connman-08e508898a1531fb437e43b30eb270547b900a8d.tar.gz
connman-08e508898a1531fb437e43b30eb270547b900a8d.tar.bz2
gdhcp: Remove obsolete load lease function
Diffstat (limited to 'gdhcp')
-rw-r--r--gdhcp/gdhcp.h2
-rw-r--r--gdhcp/server.c6
2 files changed, 0 insertions, 8 deletions
diff --git a/gdhcp/gdhcp.h b/gdhcp/gdhcp.h
index 169b81f..f011690 100644
--- a/gdhcp/gdhcp.h
+++ b/gdhcp/gdhcp.h
@@ -186,8 +186,6 @@ int g_dhcp_server_set_option(GDHCPServer *server,
unsigned char option_code, const char *option_value);
int g_dhcp_server_set_ip_range(GDHCPServer *server,
const char *start_ip, const char *end_ip);
-void g_dhcp_server_load_lease(GDHCPServer *dhcp_server, unsigned int expire,
- unsigned char *mac, unsigned int lease_ip);
void g_dhcp_server_set_debug(GDHCPServer *server,
GDHCPDebugFunc func, gpointer user_data);
void g_dhcp_server_set_lease_time(GDHCPServer *dhcp_server,
diff --git a/gdhcp/server.c b/gdhcp/server.c
index a342985..9ac09b5 100644
--- a/gdhcp/server.c
+++ b/gdhcp/server.c
@@ -860,12 +860,6 @@ void g_dhcp_server_unref(GDHCPServer *dhcp_server)
g_free(dhcp_server);
}
-void g_dhcp_server_load_lease(GDHCPServer *dhcp_server, unsigned int expire,
- unsigned char *mac, unsigned int lease_ip)
-{
- add_lease(dhcp_server, expire, mac, lease_ip);
-}
-
int g_dhcp_server_set_ip_range(GDHCPServer *dhcp_server,
const char *start_ip, const char *end_ip)
{