summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2015-11-23 22:54:08 +0100
committerTom Gundersen <teg@jklm.no>2015-11-23 22:54:08 +0100
commit556f107f95a2b3e59162f8282ce2d717bbfd2e2a (patch)
treeca2dc139ca3a18431b59aa2c999d1a091171b2fd /src
parent1f233d4c24a6c95d34cf0fe5d9c31b5440102479 (diff)
parent74544b4ead6dfc8645b3f0bce6787a494f254cc5 (diff)
Merge pull request #1984 from phomes/networkd-routes-parse
networkd: link - fix reading routes
Diffstat (limited to 'src')
-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;