summaryrefslogtreecommitdiff
path: root/src/network
diff options
context:
space:
mode:
authorThomas Hindoe Paaboel Andersen <phomes@gmail.com>2015-11-22 18:37:58 +0100
committerThomas Hindoe Paaboel Andersen <phomes@gmail.com>2015-11-22 18:53:36 +0100
commit74544b4ead6dfc8645b3f0bce6787a494f254cc5 (patch)
treecd158b89cef97ba15ab4af5d87870b3bd608eed8 /src/network
parent0c203f1dd13a3b6f832f6254264349a5ae3976a8 (diff)
networkd: link - fix reading routes
This regressed during the port to extract_first_word in c598ac76 (v228). CID #1338083
Diffstat (limited to 'src/network')
-rw-r--r--src/network/networkd-link.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/network/networkd-link.c b/src/network/networkd-link.c
index 4af895a6fb..64a4b74e15 100644
--- a/src/network/networkd-link.c
+++ b/src/network/networkd-link.c
@@ -2327,6 +2327,8 @@ network_file_fail:
}
if (routes) {
+ p = routes;
+
for (;;) {
Route *route;
_cleanup_free_ char *route_str = NULL;