networkd: link - fix reading routes

This regressed during the port to extract_first_word in c598ac76
(v228).

CID #1338083
This commit is contained in:
Thomas Hindoe Paaboel Andersen 2015-11-22 18:37:58 +01:00
parent 0c203f1dd1
commit 74544b4ead
1 changed files with 2 additions and 0 deletions

View File

@ -2327,6 +2327,8 @@ network_file_fail:
}
if (routes) {
p = routes;
for (;;) {
Route *route;
_cleanup_free_ char *route_str = NULL;