diff options
author | Thomas Haller <thaller@redhat.com> | 2016-02-19 01:06:28 +0100 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2016-02-20 00:19:09 +0100 |
commit | 6635e54d613304c3b319d822d6ae1a93d016e968 (patch) | |
tree | 7d58a573cf408dff8a2a9a3c60ebc55fab940a4d /src/platform/tests/test-general.c | |
parent | 94d6aaac70ecec4baca6a072d32825287f8ee109 (diff) | |
download | NetworkManager-th/platform-netns.tar.gz |
platform: add network namespace support to platformth/platform-netns
Platform not only uses the netlink socket, but also sysfs, udev,
ethtool, mii. To properly support network namespaces, we must
switch the namespace as necessary. In case of udev, it is only
supported on the main namespace.
Diffstat (limited to 'src/platform/tests/test-general.c')
-rw-r--r-- | src/platform/tests/test-general.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/platform/tests/test-general.c b/src/platform/tests/test-general.c index f342e5653e..66f72fa570 100644 --- a/src/platform/tests/test-general.c +++ b/src/platform/tests/test-general.c @@ -18,12 +18,12 @@ * Copyright (C) 2015 Red Hat, Inc. */ -#include "nm-platform-utils.h" +#include "nm-default.h" #include <linux/rtnetlink.h> +#include "nm-platform-utils.h" #include "nm-linux-platform.h" -#include "nm-default.h" #include "nm-test-utils.h" |