projects
/
framework
/
connectivity
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3110ed4
)
Ignore VirtualBox network devices
author
Marcel Holtmann
<marcel@holtmann.org>
Thu, 26 Mar 2009 08:10:17 +0000
(09:10 +0100)
committer
Marcel Holtmann
<marcel@holtmann.org>
Thu, 26 Mar 2009 08:10:17 +0000
(09:10 +0100)
src/detect.c
patch
|
blob
|
history
diff --git
a/src/detect.c
b/src/detect.c
index
3a97816
..
b096318
100644
(file)
--- a/
src/detect.c
+++ b/
src/detect.c
@@
-209,6
+209,8
@@
static void detect_newlink(unsigned short type, int index,
devtype = CONNMAN_DEVICE_TYPE_UNKNOWN;
else if (g_str_has_prefix(devname, "vmnet") == TRUE)
devtype = CONNMAN_DEVICE_TYPE_UNKNOWN;
+ else if (g_str_has_prefix(devname, "vboxnet") == TRUE)
+ devtype = CONNMAN_DEVICE_TYPE_UNKNOWN;
else if (stat(bridge_path, &st) == 0 && (st.st_mode & S_IFDIR))
devtype = CONNMAN_DEVICE_TYPE_UNKNOWN;
else if (stat(wimax_path, &st) == 0 && (st.st_mode & S_IFDIR))