diff options
author | Steven Barth <steven@midlink.org> | 2013-10-23 10:13:00 +0200 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2013-10-23 10:13:00 +0200 |
commit | e1b11c518aded9136b4f44759c6e2a6be4161ee9 (patch) | |
tree | 6602f75b58a520637b15c95a9b0e8d12fcf608d6 /src/odhcp6c.h | |
parent | e23448ff8edc66f1da4fcb2b4066a02d6a54306f (diff) | |
download | odhcp6c-e1b11c518aded9136b4f44759c6e2a6be4161ee9.tar.gz |
Avoid updating too often if ISP spams RAs
Diffstat (limited to 'src/odhcp6c.h')
-rw-r--r-- | src/odhcp6c.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/odhcp6c.h b/src/odhcp6c.h index 669b33d..61dee63 100644 --- a/src/odhcp6c.h +++ b/src/odhcp6c.h @@ -250,8 +250,8 @@ void* odhcp6c_get_state(enum odhcp6c_state state, size_t *len); // Entry manipulation struct odhcp6c_entry* odhcp6c_find_entry(enum odhcp6c_state state, const struct odhcp6c_entry *new); -void odhcp6c_update_entry(enum odhcp6c_state state, struct odhcp6c_entry *new); -void odhcp6c_update_entry_safe(enum odhcp6c_state state, struct odhcp6c_entry *new, uint32_t safe); +bool odhcp6c_update_entry(enum odhcp6c_state state, struct odhcp6c_entry *new); +bool odhcp6c_update_entry_safe(enum odhcp6c_state state, struct odhcp6c_entry *new, uint32_t safe); void odhcp6c_expire(void); uint32_t odhcp6c_elapsed(void); |