From 44730d1b724320894d1d7ec0b5717eeafbbb5408 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Wed, 30 Dec 2009 00:55:44 -0800 Subject: [PATCH] Fix compilation error --- plugins/mbm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/mbm.c b/plugins/mbm.c index 22d53ff..0bf5c84 100644 --- a/plugins/mbm.c +++ b/plugins/mbm.c @@ -670,7 +670,7 @@ static void mbm_newlink(unsigned flags, unsigned change, void *user_data) if ((data->flags & IFF_LOWER_UP) != (flags & IFF_LOWER_UP)) { if (flags & IFF_LOWER_UP) { - connman_network_set_method(network, + connman_network_set_method(data->network, CONNMAN_IPCONFIG_METHOD_DHCP); connman_network_set_connected(data->network, TRUE); } else { -- 2.7.4