summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2015-01-06 13:46:55 +0100
committerThomas Haller <thaller@redhat.com>2015-01-07 23:33:37 +0100
commitbb9942929a543f3c01fafde58f27e47effbeae9d (patch)
treed1b3fa55053f4e04e8feab250b58ea89ae33400e
parent3b8d668b88bcff7647e56b3da9697d1cd2ecee37 (diff)
downloadNetworkManager-bb9942929a543f3c01fafde58f27e47effbeae9d.tar.gz
fixup! device: log sysctl values in device constructor for debugging
-rw-r--r--src/devices/nm-device.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/devices/nm-device.c b/src/devices/nm-device.c
index 5834716b2e..501746bd3c 100644
--- a/src/devices/nm-device.c
+++ b/src/devices/nm-device.c
@@ -8080,6 +8080,7 @@ constructed (GObject *object)
if ( nm_logging_enabled (LOGL_DEBUG, LOGD_PLATFORM)
&& priv->iface
+ && !device_has_capability (self, NM_DEVICE_CAP_IS_NON_KERNEL)
&& nm_utils_iface_valid_name (priv->iface)) {
#define LOG_SYSCTL(sysctl_path) \
G_STMT_START { \