From e1b11c518aded9136b4f44759c6e2a6be4161ee9 Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Wed, 23 Oct 2013 10:13:00 +0200 Subject: Avoid updating too often if ISP spams RAs --- src/odhcp6c.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/odhcp6c.h') 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); -- cgit v1.2.1