projects
/
project
/
odhcp6c.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix safe entry manipulation
[project/odhcp6c.git]
/
src
/
odhcp6c.c
diff --git
a/src/odhcp6c.c
b/src/odhcp6c.c
index 6266aa484719feb5be7c4660b95df54e5cfb2a48..e4da1ab2767b36ef067e4cb314f413ff40f779c8 100644
(file)
--- a/
src/odhcp6c.c
+++ b/
src/odhcp6c.c
@@
-393,7
+393,7
@@
void odhcp6c_update_entry_safe(enum odhcp6c_state state, const struct odhcp6c_en
struct odhcp6c_entry *start = odhcp6c_get_state(state, &len);
if (x && x->valid > new->valid && new->valid < safe)
-
return
;
+
new->valid = safe
;
if (new->valid > 0) {
if (x)