format: run nm-code-format
This commit is contained in:
@@ -6183,9 +6183,9 @@ nm_platform_link_to_string(const NMPlatformLink *link, char *buf, gsize len)
|
|||||||
link->initialized ? " init" : " not-init",
|
link->initialized ? " init" : " not-init",
|
||||||
link->inet6_addr_gen_mode_inv ? " addrgenmode " : "",
|
link->inet6_addr_gen_mode_inv ? " addrgenmode " : "",
|
||||||
link->inet6_addr_gen_mode_inv ? nm_platform_link_inet6_addrgenmode2str(
|
link->inet6_addr_gen_mode_inv ? nm_platform_link_inet6_addrgenmode2str(
|
||||||
_nm_platform_uint8_inv(link->inet6_addr_gen_mode_inv),
|
_nm_platform_uint8_inv(link->inet6_addr_gen_mode_inv),
|
||||||
str_addrmode,
|
str_addrmode,
|
||||||
sizeof(str_addrmode))
|
sizeof(str_addrmode))
|
||||||
: "",
|
: "",
|
||||||
str_address[0] ? " addr " : "",
|
str_address[0] ? " addr " : "",
|
||||||
str_address[0] ? str_address : "",
|
str_address[0] ? str_address : "",
|
||||||
@@ -7421,11 +7421,12 @@ nm_platform_ip6_route_to_string(const NMPlatformIP6Route *route, char *buf, gsiz
|
|||||||
route->lock_mtu ? "lock " : "",
|
route->lock_mtu ? "lock " : "",
|
||||||
route->mtu)
|
route->mtu)
|
||||||
: "",
|
: "",
|
||||||
route->rt_pref ? nm_sprintf_buf(
|
route->rt_pref
|
||||||
str_pref,
|
? nm_sprintf_buf(
|
||||||
" pref %s",
|
str_pref,
|
||||||
nm_icmpv6_router_pref_to_string(route->rt_pref, str_pref2, sizeof(str_pref2)))
|
" pref %s",
|
||||||
: "");
|
nm_icmpv6_router_pref_to_string(route->rt_pref, str_pref2, sizeof(str_pref2)))
|
||||||
|
: "");
|
||||||
|
|
||||||
return buf;
|
return buf;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user