summaryrefslogtreecommitdiff
path: root/src/network
diff options
context:
space:
mode:
authorDaniel Mack <github@zonque.org>2015-11-18 19:31:08 +0100
committerDaniel Mack <github@zonque.org>2015-11-18 19:31:08 +0100
commit81ec9ce4a71e44c29231d813b8847ebafc11b36e (patch)
treee7d6509d95c6788d77eaebd5a83f381ccddffd1c /src/network
parent9f189439e0582709df78be454277c2b6f478181d (diff)
parent928bc597b74d3c384b98a0347d9a526d61cb51c7 (diff)
Merge pull request #1945 from phomes/indentation-fix
network: fix indentation
Diffstat (limited to 'src/network')
-rw-r--r--src/network/networkd-link.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/network/networkd-link.c b/src/network/networkd-link.c
index 0d3c141312..295249a50d 100644
--- a/src/network/networkd-link.c
+++ b/src/network/networkd-link.c
@@ -2300,7 +2300,8 @@ network_file_fail:
if (r < 0) {
log_link_debug_errno(link, r, "Failed to extract next address string: %m");
continue;
- } if (r == 0)
+ }
+ if (r == 0)
break;
prefixlen_str = strchr(address_str, '/');
@@ -2344,7 +2345,8 @@ network_file_fail:
if (r < 0) {
log_link_debug_errno(link, r, "Failed to extract next route string: %m");
continue;
- } if (r == 0)
+ }
+ if (r == 0)
break;
prefixlen_str = strchr(route_str, '/');