projects
/
framework
/
connectivity
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
27325ba
)
rtnl: Remove dead assignment
author
Henrique Dante de Almeida
<hdante@profusion.mobi>
Tue, 8 May 2012 19:20:58 +0000
(16:20 -0300)
committer
Patrik Flykt
<patrik.flykt@linux.intel.com>
Wed, 9 May 2012 14:16:10 +0000
(17:16 +0300)
src/rtnl.c
patch
|
blob
|
history
diff --git
a/src/rtnl.c
b/src/rtnl.c
index
e53f5e8
..
1aaef29
100644
(file)
--- a/
src/rtnl.c
+++ b/
src/rtnl.c
@@
-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;