summaryrefslogtreecommitdiff
path: root/src/network/networkd-network.c
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2015-10-25 15:09:40 +0100
committerTom Gundersen <teg@jklm.no>2015-10-30 12:32:48 +0100
commit2ce409569093f7c2c6732246978a901a27f2bce3 (patch)
treeb244e69c3cd1dadade8a55b3f93a345f891760c5 /src/network/networkd-network.c
parentcb2266f9312a12d7e80c688bf31a9d4b148d5ce6 (diff)
networkd: route - rename fields in struct
Diffstat (limited to 'src/network/networkd-network.c')
-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 cc8d019017..c73d68201b 100644
--- a/src/network/networkd-network.c
+++ b/src/network/networkd-network.c
@@ -361,7 +361,7 @@ int network_apply(Manager *manager, Network *network, Link *link) {
if (r < 0)
return r;
- r = inet_pton(AF_INET, "169.254.0.0", &route->dst_addr.in);
+ r = inet_pton(AF_INET, "169.254.0.0", &route->dst.in);
if (r == 0)
return -EINVAL;
if (r < 0)