From 8c12ec683a443b72c600751e3496a790bade6981 Mon Sep 17 00:00:00 2001 From: Jukka Rissanen Date: Mon, 12 Nov 2012 14:07:19 +0200 Subject: device: Move device creation func into device.c The device creation function should be part of device.c and not inet.c. After this change the inet.c can be used by separate vpn daemon. --- src/detect.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/detect.c') diff --git a/src/detect.c b/src/detect.c index 94a113e5..44d17fd3 100644 --- a/src/detect.c +++ b/src/detect.c @@ -71,7 +71,7 @@ static void detect_newlink(unsigned short type, int index, if (device != NULL) return; - device = connman_inet_create_device(index); + device = connman_device_create_from_index(index); if (device == NULL) return; -- cgit v1.2.3