]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
networkd: fix route_new_static assert when IPv4LLRoute=true (#5676)
authorSusant Sahani <ssahani@users.noreply.github.com>
Fri, 31 Mar 2017 06:29:20 +0000 (11:59 +0530)
committerLennart Poettering <lennart@poettering.net>
Fri, 31 Mar 2017 06:29:20 +0000 (08:29 +0200)
fixes: #5664

src/network/networkd-network.c

index ab372568de819e1d711fbc97712a54e3966e0173..fac42d8478fc6e7b9fcabcb8405061e4d14f248a 100644 (file)
@@ -428,7 +428,7 @@ int network_apply(Network *network, Link *link) {
         if (network->ipv4ll_route) {
                 Route *route;
 
-                r = route_new_static(network, "Network", 0, &route);
+                r = route_new_static(network, NULL, 0, &route);
                 if (r < 0)
                         return r;