diff options
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; |