networkd: route fix coding style

This commit is contained in:
Susant Sahani 2019-05-14 08:09:54 +05:30
parent 633c725865
commit 67c193bfb0
1 changed files with 1 additions and 1 deletions

View File

@ -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");