From: Steven Barth Date: Wed, 10 Dec 2014 10:40:40 +0000 (+0100) Subject: Avoid sending empty DHCPv6 release messages X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=722226c4f1d45c8bf4ac9189523738abcf7d648f;p=oweals%2Fodhcp6c.git Avoid sending empty DHCPv6 release messages --- diff --git a/src/odhcp6c.c b/src/odhcp6c.c index 3712830..a37de91 100644 --- a/src/odhcp6c.c +++ b/src/odhcp6c.c @@ -395,6 +395,8 @@ int main(_unused int argc, char* const argv[]) break; } + odhcp6c_expire(); + size_t ia_pd_len, ia_na_len, server_id_len; odhcp6c_get_state(STATE_IA_PD, &ia_pd_len); odhcp6c_get_state(STATE_IA_NA, &ia_na_len);