mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-10 21:00:23 +01:00
ip4-config: be a bit more tolerant when dumping the connection
This one single commit magically turns a nightmare into a summer breeze.
This commit is contained in:
parent
466a081c0f
commit
5e8e81e2cf
1 changed files with 5 additions and 2 deletions
|
|
@ -1202,10 +1202,13 @@ nm_ip4_config_dump (const NMIP4Config *config, const char *detail)
|
|||
guint32 i, tmp;
|
||||
const char *str;
|
||||
|
||||
g_return_if_fail (config != NULL);
|
||||
|
||||
g_message ("--------- NMIP4Config %p (%s)", config, detail);
|
||||
|
||||
if (config == NULL) {
|
||||
g_message (" (null)");
|
||||
return;
|
||||
}
|
||||
|
||||
str = nm_exported_object_get_path (NM_EXPORTED_OBJECT (config));
|
||||
if (str)
|
||||
g_message (" path: %s", str);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue