summaryrefslogtreecommitdiff
path: root/src/network/networkd-dhcp4.c
diff options
context:
space:
mode:
authorDaniel Mack <github@zonque.org>2015-08-06 01:12:05 +0200
committerDaniel Mack <github@zonque.org>2015-08-06 01:12:05 +0200
commitc2f147382d8ad174dae0a9b60088807a07dc6415 (patch)
treea887c3b285cacf9102ce14d82ffa0948643dd0b9 /src/network/networkd-dhcp4.c
parent511d2ffc8cc4e6c6b528aa96c4096f57bc52226e (diff)
parent7d6884b65e6ea7317346d29bc2f6c9ba051a0cac (diff)
Merge pull request #882 from phomes/indentation
tree-wide: fix indentation
Diffstat (limited to 'src/network/networkd-dhcp4.c')
-rw-r--r--src/network/networkd-dhcp4.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/network/networkd-dhcp4.c b/src/network/networkd-dhcp4.c
index 5454bdd97b..6288644a1a 100644
--- a/src/network/networkd-dhcp4.c
+++ b/src/network/networkd-dhcp4.c
@@ -248,7 +248,7 @@ static int dhcp_lease_lost(Link *link) {
address->in_addr.in = addr;
address->prefixlen = prefixlen;
- address_drop(address, link, &link_address_drop_handler);
+ address_drop(address, link, &link_address_drop_handler);
}
}
@@ -620,8 +620,8 @@ int dhcp4_configure(Link *link) {
return r;
r = sd_dhcp_client_set_request_option(link->dhcp_client,
DHCP_OPTION_CLASSLESS_STATIC_ROUTE);
- if (r < 0)
- return r;
+ if (r < 0)
+ return r;
}
if (link->network->dhcp_sendhost) {