mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-12-24 21:34:08 +03:00
networkd: fix route_new_static assert when IPv4LLRoute=true (#5676)
fixes: #5664
This commit is contained in:
parent
3daffa82c4
commit
0b180d754c
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user