summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Winship <danw@gnome.org>2014-06-20 15:41:24 -0400
committerDan Williams <dcbw@redhat.com>2014-07-02 14:58:53 -0500
commitebeaeaed4d3180c27cc059fe0ff199153fa9ec24 (patch)
treeeb1e81b401193c43581b2a2b5a3014f864b138ab
parent6cb6d3972558bb89cbb83ac1b87595dc33ed665a (diff)
downloadNetworkManager-ebeaeaed4d3180c27cc059fe0ff199153fa9ec24.tar.gz
core: make veth devices default-unmanaged for now
We only want to treat a veth device as ethernet if (a) NM is running inside a container, and (b) the veth in question is the "inside" end of the veth, not the outside. Unfortunately, we don't have good heuristics for this at the moment, so just ignore veths for now. https://bugzilla.gnome.org/show_bug.cgi?id=731014
-rw-r--r--src/devices/nm-device-veth.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/devices/nm-device-veth.c b/src/devices/nm-device-veth.c
index 9abe491648..0bdd810218 100644
--- a/src/devices/nm-device-veth.c
+++ b/src/devices/nm-device-veth.c
@@ -111,6 +111,7 @@ nm_device_veth_new (NMPlatformLink *platform_device)
static void
nm_device_veth_init (NMDeviceVeth *self)
{
+ nm_device_set_initial_unmanaged_flag (NM_DEVICE (self), NM_UNMANAGED_DEFAULT, TRUE);
}
static void