mirror of
https://github.com/systemd/systemd.git
synced 2025-01-26 14:04:03 +03:00
networkd: route add missing search for route object.
Probaly this happened during rebase.
This commit is contained in:
parent
3ded5bbfda
commit
4c7bd9cf6b
@ -996,6 +996,10 @@ int config_parse_ipv6_route_preference(const char *unit,
|
||||
_cleanup_route_free_ Route *n = NULL;
|
||||
int r;
|
||||
|
||||
r = route_new_static(network, filename, section_line, &n);
|
||||
if (r < 0)
|
||||
return r;
|
||||
|
||||
if (streq(rvalue, "low"))
|
||||
n->pref = ICMPV6_ROUTER_PREF_LOW;
|
||||
else if (streq(rvalue, "medium"))
|
||||
|
Loading…
x
Reference in New Issue
Block a user