From bcb6370dc73d25c43692691c42bfd8d12e72074d Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Thu, 26 Mar 2009 17:24:07 -0700 Subject: [PATCH] Ignore VMware network devices --- src/detect.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/detect.c b/src/detect.c index 1415638..3a97816 100644 --- a/src/detect.c +++ b/src/detect.c @@ -207,6 +207,8 @@ static void detect_newlink(unsigned short type, int index, devtype = CONNMAN_DEVICE_TYPE_UNKNOWN; else if (g_str_has_prefix(devname, "wmx") == TRUE) devtype = CONNMAN_DEVICE_TYPE_UNKNOWN; + else if (g_str_has_prefix(devname, "vmnet") == 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)) -- 1.7.9.5