#include <net/ethernet.h>
#include <linux/if_arp.h>
-#include <gdhcp.h>
+#include <gdhcp/gdhcp.h>
static GTimer *timer;
-static GMainLoop *main_loop = NULL;
+static GMainLoop *main_loop;
static void sig_term(int sig)
{
g_main_loop_unref(main_loop);
+ g_timer_destroy(timer);
+
return 0;
}