*
* Connection Manager
*
- * Copyright (C) 2007-2008 Intel Corporation. All rights reserved.
+ * Copyright (C) 2007-2009 Intel Corporation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
#include <stdio.h>
#include <unistd.h>
+#define CONNMAN_API_SUBJECT_TO_CHANGE
#include <connman/plugin.h>
#include <connman/driver.h>
#include <connman/dbus.h>
#include "inet.h"
#include "task.h"
-#define UDHCPC_INTF "org.busybox.udhcpc"
-#define UDHCPC_PATH "/org/busybox/udhcpc"
+#define UDHCPC_INTF "net.busybox.udhcpc"
+#define UDHCPC_PATH "/net/busybox/udhcpc"
static int udhcp_probe(struct connman_element *element)
{
dbus_connection_unref(connection);
}
-CONNMAN_PLUGIN_DEFINE(dhclient, "uDHCP client plugin", VERSION,
- udhcp_init, udhcp_exit)
+CONNMAN_PLUGIN_DEFINE(udhcp, "uDHCP client plugin", VERSION,
+ CONNMAN_PLUGIN_PRIORITY_DEFAULT, udhcp_init, udhcp_exit)