projects
/
systemd
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
633c725
)
networkd: route fix coding style
author
Susant Sahani
<ssahani@gmail.com>
Tue, 14 May 2019 02:39:54 +0000
(08:09 +0530)
committer
Susant Sahani
<ssahani@gmail.com>
Tue, 14 May 2019 02:39:54 +0000
(08:09 +0530)
src/network/networkd-route.c
patch
|
blob
|
history
diff --git
a/src/network/networkd-route.c
b/src/network/networkd-route.c
index 03332cd21b3d0d1b983160c7f0482bc2dc2fa001..179eeac017b9a4f5ce905510c36bd7ef3dc8e149 100644
(file)
--- a/
src/network/networkd-route.c
+++ b/
src/network/networkd-route.c
@@
-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");