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:
41cdcf2
)
Fix receive rounds end condition
author
Hans Dedecker
<dedeckeh@gmail.com>
Sun, 1 Dec 2013 17:49:36 +0000
(18:49 +0100)
committer
Hans Dedecker
<dedeckeh@gmail.com>
Sun, 1 Dec 2013 17:49:36 +0000
(18:49 +0100)
src/dhcpv6.c
patch
|
blob
|
history
diff --git
a/src/dhcpv6.c
b/src/dhcpv6.c
index 7ae908c8a24dfa9f08851563182a53a9cb48e641..e07886780f8f352bad24e95ca31ed136ada47904 100644
(file)
--- a/
src/dhcpv6.c
+++ b/
src/dhcpv6.c
@@
-469,7
+469,7
@@
int dhcpv6_request(enum dhcpv6_msg type)
}
// Receive rounds
- for (; len < 0 &&
round_start < round_end
;
+ for (; len < 0 &&
(round_start < round_end)
;
round_start = odhcp6c_get_milli_time()) {
uint8_t buf[1536], cmsg_buf[CMSG_SPACE(sizeof(struct in6_pktinfo))];
struct iovec iov = {buf, sizeof(buf)};