projects
/
oweals
/
odhcp6c.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6bc31b2
)
Fix compile error
author
Steven Barth
<steven@midlink.org>
Wed, 30 Jan 2013 21:51:30 +0000
(22:51 +0100)
committer
Steven Barth
<steven@midlink.org>
Wed, 30 Jan 2013 21:51:30 +0000
(22:51 +0100)
src/ra.c
patch
|
blob
|
history
diff --git
a/src/ra.c
b/src/ra.c
index f9fd573f8009ee8b82a05c8a2f609c694937faa4..602191aef05d216bc9adcda602a80ef7d5650117 100644
(file)
--- a/
src/ra.c
+++ b/
src/ra.c
@@
-145,7
+145,7
@@
bool ra_rtnl_process(void)
if (len < 0)
break;
- for (struct nlmsghdr *nh = (struct nlmsghdr*)buf; NLMSG_OK(nh, len);
+ for (struct nlmsghdr *nh = (struct nlmsghdr*)buf; NLMSG_OK(nh,
(size_t)
len);
nh = NLMSG_NEXT(nh, len)) {
struct ifaddrmsg *ifa = NLMSG_DATA(nh);
struct in6_addr *addr = NULL;