diff options
Diffstat (limited to 'tools/dhcp-server-test.c')
-rwxr-xr-x | tools/dhcp-server-test.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/dhcp-server-test.c b/tools/dhcp-server-test.c index b7d2e540..59f5f34d 100755 --- a/tools/dhcp-server-test.c +++ b/tools/dhcp-server-test.c @@ -29,6 +29,8 @@ #include <gdhcp/gdhcp.h> +#include "../src/connman.h" + static GMainLoop *main_loop; static void sig_term(int sig) @@ -113,8 +115,12 @@ int main(int argc, char *argv[]) sigaction(SIGINT, &sa, NULL); sigaction(SIGTERM, &sa, NULL); + __connman_util_init(); + g_main_loop_run(main_loop); + __connman_util_cleanup(); + g_dhcp_server_unref(dhcp_server); g_main_loop_unref(main_loop); |