summaryrefslogtreecommitdiff
path: root/src/detect.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/detect.c')
-rw-r--r--src/detect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/detect.c b/src/detect.c
index 9b5abdfa..c8247eec 100644
--- a/src/detect.c
+++ b/src/detect.c
@@ -233,7 +233,7 @@ static void detect_newlink(unsigned short type, int index,
case CONNMAN_DEVICE_TYPE_ETHERNET:
case CONNMAN_DEVICE_TYPE_WIFI:
case CONNMAN_DEVICE_TYPE_WIMAX:
- name = index2ident(index, "dev_");
+ name = index2ident(index, "");
addr = index2addr(index);
break;
case CONNMAN_DEVICE_TYPE_BLUETOOTH: