projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ded5bb
)
networkd: route add missing search for route object.
author
Susant Sahani
<susant@redhat.com>
Tue, 25 Apr 2017 14:29:39 +0000
(19:59 +0530)
committer
Susant Sahani
<susant@redhat.com>
Tue, 25 Apr 2017 14:29:39 +0000
(19:59 +0530)
Probaly this happened during rebase.
src/network/networkd-route.c
patch
|
blob
|
history
diff --git
a/src/network/networkd-route.c
b/src/network/networkd-route.c
index
56f8316
..
94204bd
100644
(file)
--- a/
src/network/networkd-route.c
+++ b/
src/network/networkd-route.c
@@
-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"))