On Fri, 2009-03-27 at 11:22 +0000, Joshua Lock wrote: > On Fri, 2009-03-27 at 11:13 +0000, Joshua Lock wrote: > > Hi list, > > > > Just cooked up a small patch to ignore VirtualBox network devices, > > please find it attached. > > I always forgot to actually attach files ...
Or maybe the mailman instance is eating attachments ... >From 8068e6a20a2affa80e53b9a8b7a510a4adc84e19 Mon Sep 17 00:00:00 2001 From: Joshua Lock <[email protected]> Date: Fri, 27 Mar 2009 11:07:22 +0000 Subject: [PATCH] Ignore VirtualBox virtual devices. --- src/detect.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/detect.c b/src/detect.c index 3a97816..b096318 100644 --- 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)) -- 1.6.0.6 -- Joshua Lock Intel Open Source Technology Centre _______________________________________________ connman mailing list [email protected] https://lists.moblin.org/mailman/listinfo/connman
