diff options
author | Henrique Dante de Almeida <hdante@profusion.mobi> | 2012-05-08 16:20:58 -0300 |
---|---|---|
committer | Patrik Flykt <patrik.flykt@linux.intel.com> | 2012-05-09 17:16:10 +0300 |
commit | ecef3b775192ced774d70a7bbb0689132d75eb0c (patch) | |
tree | c0ca8877a1ad8942d4251b1365fb295c560f7a4c /src/rtnl.c | |
parent | 27325bafff26e395eb87239f6e0289af6a760bcc (diff) | |
download | connman-ecef3b775192ced774d70a7bbb0689132d75eb0c.tar.gz connman-ecef3b775192ced774d70a7bbb0689132d75eb0c.tar.bz2 connman-ecef3b775192ced774d70a7bbb0689132d75eb0c.zip |
rtnl: Remove dead assignment
Diffstat (limited to 'src/rtnl.c')
-rw-r--r-- | src/rtnl.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1189,7 +1189,7 @@ static const char **rtnl_nd_opt_dnssl(struct nd_opt_hdr *opt, guint32 *lifetime) static void rtnl_newnduseropt(struct nlmsghdr *hdr) { struct nduseroptmsg *msg = (struct nduseroptmsg *) NLMSG_DATA(hdr); - struct nd_opt_hdr *opt = (void *)&msg[1]; + struct nd_opt_hdr *opt; guint32 lifetime = -1; const char **domains = NULL; struct in6_addr *servers = NULL; |