mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-04 00:30:17 +01:00
l3cfg: fix log message
nm_utils_addr_family_to_char() requires a valid address family.
Fixes: 1feaf427d2 ('platform: rework handling of failed routes during nm_platform_ip_route_sync()')
This commit is contained in:
parent
4b78778e8b
commit
8da4d088ba
1 changed files with 1 additions and 1 deletions
|
|
@ -4033,7 +4033,7 @@ again:
|
|||
&obj_state->os_failedobj_prioq_idx);
|
||||
_LOGW(
|
||||
"missing IPv%c route: %s",
|
||||
nm_utils_addr_family_to_char(NMP_OBJECT_GET_TYPE(obj_state->obj)),
|
||||
nm_utils_addr_family_to_char(NMP_OBJECT_GET_ADDR_FAMILY(obj_state->obj)),
|
||||
nmp_object_to_string(obj_state->obj, NMP_OBJECT_TO_STRING_PUBLIC, sbuf, sizeof(sbuf)));
|
||||
goto again;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue