summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSusant Sahani <ssahani@users.noreply.github.com>2017-03-31 11:59:20 +0530
committerLennart Poettering <lennart@poettering.net>2017-03-31 08:29:20 +0200
commit0b180d754cd9b171f38e39554495841f666060f7 (patch)
tree09574c454af4be5e6b5dba5217ac7b86cce64447 /src
parent3daffa82c421c538f279d7409f868de9311b6c53 (diff)
networkd: fix route_new_static assert when IPv4LLRoute=true (#5676)
fixes: #5664
Diffstat (limited to 'src')
-rw-r--r--src/network/networkd-network.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/networkd-network.c b/src/network/networkd-network.c
index ab372568de..fac42d8478 100644
--- a/src/network/networkd-network.c
+++ b/src/network/networkd-network.c
@@ -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;