chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sd-dhcp-client/networkd: add interface MTU support
[elogind.git]
/
src
/
network
/
networkd-route.c
diff --git
a/src/network/networkd-route.c
b/src/network/networkd-route.c
index 488d3f5013719bac0be8a34fe11a2a73778eb099..83dad655db19658d5434c4191881afae439c21bd 100644
(file)
--- a/
src/network/networkd-route.c
+++ b/
src/network/networkd-route.c
@@
-231,7
+231,7
@@
int config_parse_destination(const char *unit,
return log_oom();
}
return log_oom();
}
- r = net_parse_inaddr(address, &n->family, &n->dst_addr);
+ r = net_parse_inaddr(address, &n->
dst_
family, &n->dst_addr);
if (r < 0) {
log_syntax(unit, LOG_ERR, filename, line, EINVAL,
"Destination is invalid, ignoring assignment: %s", address);
if (r < 0) {
log_syntax(unit, LOG_ERR, filename, line, EINVAL,
"Destination is invalid, ignoring assignment: %s", address);
@@
-252,7
+252,7
@@
int config_parse_destination(const char *unit,
n->dst_prefixlen = (unsigned char) i;
} else {
n->dst_prefixlen = (unsigned char) i;
} else {
- switch (n->family) {
+ switch (n->
dst_
family) {
case AF_INET:
n->dst_prefixlen = 32;
break;
case AF_INET:
n->dst_prefixlen = 32;
break;