networkd: dhcp4 - style fixes

This commit is contained in:
Tom Gundersen
2015-11-11 15:42:38 +01:00
parent a2e6fbf5c0
commit 6cf4a01c36
+2 -2
View File
@@ -34,7 +34,7 @@ static int dhcp4_route_handler(sd_netlink *rtnl, sd_netlink_message *m,
int r;
assert(link);
assert(link->dhcp4_messages);
assert(link->dhcp4_messages > 0);
link->dhcp4_messages --;
@@ -44,7 +44,7 @@ static int dhcp4_route_handler(sd_netlink *rtnl, sd_netlink_message *m,
link_enter_failed(link);
}
if (!link->dhcp4_messages) {
if (link->dhcp4_messages == 0) {
link->dhcp4_configured = true;
link_check_ready(link);
}