]> git.decadent.org.uk Git - odhcp6c.git/blobdiff - src/odhcp6c.h
Fix odhcp6c_find_entry
[odhcp6c.git] / src / odhcp6c.h
index ff5b9e45467045f89c11685740c66706f12096c8..104213681c8b18001bf5a131ceb98c9a12c61c26 100644 (file)
@@ -65,10 +65,6 @@ enum dhcvp6_opt {
        DHCPV6_OPT_PD_EXCLUDE = 67,
        DHCPV6_OPT_SOL_MAX_RT = 82,
        DHCPV6_OPT_INF_MAX_RT = 83,
-#ifdef EXT_PREFIX_CLASS
-       /* draft-bhandari-dhc-class-based-prefix, not yet standardized */
-       DHCPV6_OPT_PREFIX_CLASS = EXT_PREFIX_CLASS,
-#endif
 #ifdef EXT_CER_ID
        /* draft-donley-dhc-cer-id-option-03 */
        DHCPV6_OPT_CER_ID = EXT_CER_ID,
@@ -300,7 +296,6 @@ struct odhcp6c_entry {
        uint32_t preferred;
        uint32_t t1;
        uint32_t t2;
-       uint16_t class;
        uint32_t iaid;
 };
 
@@ -343,7 +338,6 @@ void* odhcp6c_move_state(enum odhcp6c_state state, size_t *len);
 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);
 bool odhcp6c_update_entry(enum odhcp6c_state state, struct odhcp6c_entry *new, uint32_t safe, bool filterexcess);
 
 void odhcp6c_expire(void);