summaryrefslogtreecommitdiff
path: root/gdhcp
diff options
context:
space:
mode:
authorJukka Rissanen <jukka.rissanen@linux.intel.com>2012-10-11 10:11:49 +0300
committerMarcel Holtmann <marcel@holtmann.org>2012-10-11 15:28:12 +0200
commit08e508898a1531fb437e43b30eb270547b900a8d (patch)
tree63e1328eb2bcf5e5f7390b9b98ce42332d0e9819 /gdhcp
parentc7dab6af2e6b2e989353d653695c04f87e986e79 (diff)
downloadconnman-08e508898a1531fb437e43b30eb270547b900a8d.tar.gz
connman-08e508898a1531fb437e43b30eb270547b900a8d.tar.bz2
connman-08e508898a1531fb437e43b30eb270547b900a8d.zip
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 169b81fc..f011690f 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 a342985c..9ac09b54 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)
{