Make the internal DHCP client the default now
authorMarcel Holtmann <marcel@holtmann.org>
Wed, 8 Sep 2010 18:41:29 +0000 (20:41 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 8 Sep 2010 18:41:29 +0000 (20:41 +0200)
plugins/dhclient.c
plugins/dhcp.c

index 8b2af6b..e63e1dc 100644 (file)
@@ -218,7 +218,7 @@ static int dhclient_release(struct connman_dhcp *dhcp)
 
 static struct connman_dhcp_driver dhclient_driver = {
        .name           = "dhclient",
-       .priority       = CONNMAN_DHCP_PRIORITY_HIGH,
+       .priority       = CONNMAN_DHCP_PRIORITY_LOW,
        .request        = dhclient_request,
        .release        = dhclient_release,
 };
index 1e6b83d..75b0ea1 100644 (file)
@@ -184,4 +184,4 @@ static void dhcp_exit(void)
 }
 
 CONNMAN_PLUGIN_DEFINE(dhcp, "Generic DHCP plugin", VERSION,
-                       CONNMAN_PLUGIN_PRIORITY_LOW, dhcp_init, dhcp_exit)
+                       CONNMAN_PLUGIN_PRIORITY_DEFAULT, dhcp_init, dhcp_exit)