summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2012-03-28 10:26:20 +0000
committerRoy Marples <roy@marples.name>2012-03-28 10:26:20 +0000
commitd29bc78d3a726418ef95e3d845598a9e6aec80ce (patch)
tree84dd2ec25cb082cb7686d5afbd1668e03f0a5cbe
parente5fc054ff1295efbe3ecdf893fdf4816d0e16d50 (diff)
downloaddhcpcd-5.5.6.tar.xz
Fix Linux compile.dhcpcd-5.5.6
-rw-r--r--if-linux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/if-linux.c b/if-linux.c
index a0c10086..f4ab7fca 100644
--- a/if-linux.c
+++ b/if-linux.c
@@ -572,7 +572,7 @@ if_route(const struct rt *rt, int action)
nlm->rt.rtm_type = RTN_UNICAST;
}
- nlm->rt.rtm_dst_len = inet_ntocidr(&rt->net);
+ nlm->rt.rtm_dst_len = inet_ntocidr(rt->net);
add_attr_l(&nlm->hdr, sizeof(*nlm), RTA_DST,
&rt->dest.s_addr, sizeof(rt->dest.s_addr));
if (nlm->rt.rtm_protocol == RTPROT_KERNEL) {