1
0
mirror of https://github.com/systemd/systemd.git synced 2024-10-27 10:25:37 +03:00

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

fixes: #5664
This commit is contained in:
Susant Sahani 2017-03-31 11:59:20 +05:30 committed by Lennart Poettering
parent 3daffa82c4
commit 0b180d754c

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;