summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Hindoe Paaboel Andersen <phomes@gmail.com>2015-11-18 19:08:44 +0100
committerThomas Hindoe Paaboel Andersen <phomes@gmail.com>2015-11-18 19:08:44 +0100
commit928bc597b74d3c384b98a0347d9a526d61cb51c7 (patch)
treee7d6509d95c6788d77eaebd5a83f381ccddffd1c
parent9f189439e0582709df78be454277c2b6f478181d (diff)
network: fix indentation
-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, '/');