diff options
Diffstat (limited to 'tools/dhcp-test.c')
-rwxr-xr-x | tools/dhcp-test.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tools/dhcp-test.c b/tools/dhcp-test.c index c34e10a8..a6c3e993 100755 --- a/tools/dhcp-test.c +++ b/tools/dhcp-test.c @@ -33,10 +33,11 @@ #include <arpa/inet.h> #include <net/route.h> #include <net/ethernet.h> -#include <linux/if_arp.h> #include <gdhcp/gdhcp.h> +#include "../src/connman.h" + static GTimer *timer; static GMainLoop *main_loop; @@ -177,8 +178,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_timer_destroy(timer); g_dhcp_client_unref(dhcp_client); |