mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-02 22:50:12 +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()') (cherry picked from commit8da4d088ba)
This commit is contained in:
parent
e5600d4c5a
commit
cd740f57ce
1 changed files with 1 additions and 1 deletions
|
|
@ -4035,7 +4035,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