]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
networkd: link - fix reading routes 1984/head
authorThomas Hindoe Paaboel Andersen <phomes@gmail.com>
Sun, 22 Nov 2015 17:37:58 +0000 (18:37 +0100)
committerThomas Hindoe Paaboel Andersen <phomes@gmail.com>
Sun, 22 Nov 2015 17:53:36 +0000 (18:53 +0100)
This regressed during the port to extract_first_word in c598ac76
(v228).

CID #1338083

src/network/networkd-link.c

index 4af895a6fba00761c9301c8f65b81a8aa2e096e3..64a4b74e15176b9098374b25b7ee50c4c2b705de 100644 (file)
@@ -2327,6 +2327,8 @@ network_file_fail:
         }
 
         if (routes) {
+                p = routes;
+
                 for (;;) {
                         Route *route;
                         _cleanup_free_ char *route_str = NULL;