summary refs log tree commit diff
path: root/src/core/nm-config-data.c
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2022-08-16 18:25:29 +0200
committerMichael Biebl <biebl@debian.org>2022-08-16 18:25:29 +0200
commite8c0c4050b07c08cc0f34d41cdff98f2cdc1cc93 (patch)
tree79a3d9572e508d4b193ea175c8ed103b2024f727 /src/core/nm-config-data.c
parent49ac65f875a36d7ebcbc8270cf0fc60acbb2e052 (diff)
parent0018d1f3cf71d680d7b6bceda55a5717244d8b26 (diff)
Update upstream source from tag 'upstream/1.39.90'
Update to upstream version '1.39.90'
with Debian dir 898f1bfdb7bf17595463e4195c78d8455df545e6
Diffstat (limited to 'src/core/nm-config-data.c')
-rw-r--r--src/core/nm-config-data.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/core/nm-config-data.c b/src/core/nm-config-data.c
index ddb7787f..0f512e38 100644
--- a/src/core/nm-config-data.c
+++ b/src/core/nm-config-data.c
@@ -839,6 +839,13 @@ nm_config_data_log(const NMConfigData  *self,
             _LOG(stream, prefix, "# no-auto-default specs \"%s\"", msg);
     }
 
+    if (nm_config_kernel_command_line_nm_debug()) {
+        _LOG(stream,
+             prefix,
+             "# /proc/cmdline contains \"" NM_CONFIG_KERNEL_CMDLINE_NM_DEBUG
+             "\". Debug log enabled");
+    }
+
 #undef _LOG
 }
 
@@ -1681,7 +1688,7 @@ nm_config_data_get_connection_default_int64(const NMConfigData *self,
     const char *value;
 
     value = nm_config_data_get_connection_default(self, property, device);
-    return _nm_utils_ascii_str_to_int64(value, 10, min, max, fallback);
+    return _nm_utils_ascii_str_to_int64(value, 0, min, max, fallback);
 }
 
 static const char *