diff options
author | Jukka Rissanen <jukka.rissanen@linux.intel.com> | 2012-11-12 14:07:19 +0200 |
---|---|---|
committer | Patrik Flykt <patrik.flykt@linux.intel.com> | 2012-11-23 12:58:50 +0200 |
commit | 8c12ec683a443b72c600751e3496a790bade6981 (patch) | |
tree | 42a84cb19b2ac739b7e5661502f9cdc8a292e88c /src/detect.c | |
parent | 68dde4bb2c3e90a6f48dc48609636228dd186c8c (diff) | |
download | connman-8c12ec683a443b72c600751e3496a790bade6981.tar.gz connman-8c12ec683a443b72c600751e3496a790bade6981.tar.bz2 connman-8c12ec683a443b72c600751e3496a790bade6981.zip |
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.
Diffstat (limited to 'src/detect.c')
-rw-r--r-- | src/detect.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |