mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 08:25:20 +09:00
networkd: route fix coding style
This commit is contained in:
@@ -639,7 +639,7 @@ int route_configure(
|
||||
return log_link_error_errno(link, r, "Could not append RTAX_INITRWND attribute: %m");
|
||||
}
|
||||
|
||||
if (route->quickack != -1) {
|
||||
if (route->quickack >= 0) {
|
||||
r = sd_netlink_message_append_u32(req, RTAX_QUICKACK, route->quickack);
|
||||
if (r < 0)
|
||||
return log_link_error_errno(link, r, "Could not append RTAX_QUICKACK attribute: %m");
|
||||
|
||||
Reference in New Issue
Block a user