summaryrefslogtreecommitdiff
path: root/src/rtnl.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2010-10-06 08:38:39 +0200
committerMarcel Holtmann <marcel@holtmann.org>2010-10-06 08:38:39 +0200
commit51b56c6070c6a0a146a379eb541e3bfa3bf4cd89 (patch)
tree78ca9459de5154f15d5a4b0410dca55ed50e9c37 /src/rtnl.c
parent3ede326ea0d22c4e264f8ab154acfd84eea69147 (diff)
downloadconnman-51b56c6070c6a0a146a379eb541e3bfa3bf4cd89.tar.gz
connman-51b56c6070c6a0a146a379eb541e3bfa3bf4cd89.tar.bz2
connman-51b56c6070c6a0a146a379eb541e3bfa3bf4cd89.zip
Add interface name checks for Virtual Machine Manager
Diffstat (limited to 'src/rtnl.c')
-rw-r--r--src/rtnl.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/rtnl.c b/src/rtnl.c
index ec9a5a74..809a06b1 100644
--- a/src/rtnl.c
+++ b/src/rtnl.c
@@ -94,6 +94,10 @@ static connman_bool_t ether_blacklisted(const char *name)
if (g_str_has_prefix(name, "vboxnet") == TRUE)
return TRUE;
+ /* virtual interface from Virtual Machine Manager */
+ if (g_str_has_prefix(name, "virbr") == TRUE)
+ return TRUE;
+
return FALSE;
}