networkd: fix route_new_static assert when IPv4LLRoute=true (#5676)

fixes: #5664
This commit is contained in:
Susant Sahani
2017-03-31 08:29:20 +02:00
committed by Lennart Poettering
parent 3daffa82c4
commit 0b180d754c
+1 -1
View 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;